コード例 #1
0
 public SupportedMessage(ConnectorSupportedMessagesPanel parent, IMessageAdapter adapter, MessageTypes type)
 {
     _parent  = parent;
     _adapter = adapter;
     Type     = type;
     Name     = type.GetDisplayName();
 }
コード例 #2
0
			public SupportedMessage(ConnectorSupportedMessagesPanel parent, IMessageAdapter adapter, MessageTypes type)
			{
				_parent = parent;
				_adapter = adapter;
				Type = type;
				Name = type.GetDisplayName();
			}
コード例 #3
0
 /// <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)
 {
 }
コード例 #4
0
 public SupportedMessage(IMessageAdapter adapter, MessageTypes type)
 {
     _adapter = adapter;
     Type     = type;
     Name     = type.GetDisplayName();
 }