public SupportedMessage(ConnectorSupportedMessagesPanel parent, IMessageAdapter adapter, MessageTypes type) { _parent = parent; _adapter = adapter; Type = type; Name = type.GetDisplayName(); }
/// <summary> /// Initializes a new instance of the <see cref="MessageTypeInfo"/>. /// </summary> /// <param name="type">Message type.</param> /// <param name="isMarketData"><see cref="Type"/> is market-data type.</param> public MessageTypeInfo(MessageTypes type, bool?isMarketData) : this(type, isMarketData, type.GetDisplayName(), null) { }
public SupportedMessage(IMessageAdapter adapter, MessageTypes type) { _adapter = adapter; Type = type; Name = type.GetDisplayName(); }