Class MessageTypeInfo
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
Extended info for MessageTypes.
public class MessageTypeInfo : Equatable<MessageTypeInfo>
- Inheritance
-
MessageTypeInfo
- Extension Methods
Constructors
MessageTypeInfo(MessageTypes, bool?)
Initializes a new instance of the MessageTypeInfo.
public MessageTypeInfo(MessageTypes type, bool? isMarketData)
Parameters
type
MessageTypesMessage type.
isMarketData
bool?Type is market-data type.
MessageTypeInfo(MessageTypes, bool?, string, string)
Initializes a new instance of the MessageTypeInfo.
public MessageTypeInfo(MessageTypes type, bool? isMarketData, string displayName, string description)
Parameters
type
MessageTypesMessage type.
isMarketData
bool?Type is market-data type.
displayName
stringDisplay name.
description
stringDescription.
Properties
Description
Description.
public string Description { get; }
Property Value
DisplayName
Display name.
public string DisplayName { get; }
Property Value
IsMarketData
Type is market-data type.
public bool? IsMarketData { get; }
Property Value
- bool?
Type
Message type.
public MessageTypes Type { get; }
Property Value
Methods
Clone()
Create a copy of MessageTypeInfo.
public override MessageTypeInfo Clone()
Returns
- MessageTypeInfo
Copy.
GetHashCode()
public override int GetHashCode()
Returns
OnEquals(MessageTypeInfo)
Compare MessageTypeInfo on the equivalence.
protected override bool OnEquals(MessageTypeInfo other)
Parameters
other
MessageTypeInfoAnother value with which to compare.
Returns
ToString()
public override string ToString()