Esempio n. 1
0
        public OrderChannel CreateOrderChannel(string secCode, string classCode)
        {
            var channel = new OrderChannel(Account, secCode, classCode);

            Subscribe(channel);

            return(channel);
        }
Esempio n. 2
0
 public bool Unsubscribe(OrderChannel channel) => Channels.Remove(channel);
Esempio n. 3
0
 public void Subscribe(OrderChannel channel) => Channels.Add(channel);
        public OrderChannel CreateOrderChannel(string secCode, string classCode)
        {
            var channel = new OrderChannel(Account, secCode, classCode);

            Subscribe(channel);

            return channel;
        }
 public bool Unsubscribe(OrderChannel channel)
 {
     return Channels.Remove(channel);
 }
 public void Subscribe(OrderChannel channel)
 {
     Channels.Add(channel);
 }