Table of Contents

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 MessageTypes

Message 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 MessageTypes

Message type.

isMarketData bool?

Type is market-data type.

displayName string

Display name.

description string

Description.

Properties

Description

Description.

public string Description { get; }

Property Value

string

DisplayName

Display name.

public string DisplayName { get; }

Property Value

string

IsMarketData

Type is market-data type.

public bool? IsMarketData { get; }

Property Value

bool?

Type

Message type.

public MessageTypes Type { get; }

Property Value

MessageTypes

Methods

Clone()

Create a copy of MessageTypeInfo.

public override MessageTypeInfo Clone()

Returns

MessageTypeInfo

Copy.

GetHashCode()

public override int GetHashCode()

Returns

int

OnEquals(MessageTypeInfo)

Compare MessageTypeInfo on the equivalence.

protected override bool OnEquals(MessageTypeInfo other)

Parameters

other MessageTypeInfo

Another value with which to compare.

Returns

bool

true, if the specified object is equal to the current object, otherwise, false.

ToString()

public override string ToString()

Returns

string