Пример #1
0
 /// <summary>
 /// Removes the specified configuration
 /// </summary>
 /// <param name="dataConfig">Subscription config to be removed</param>
 public void Unsubscribe(SubscriptionDataConfig dataConfig)
 {
     lock (_sync)
     {
         _symbols.Remove(dataConfig.Symbol);
     }
     _aggregator.Remove(dataConfig);
 }
Пример #2
0
 /// <summary>
 /// Removes the specified configuration
 /// </summary>
 /// <param name="dataConfig">Subscription config to be removed</param>
 public void Unsubscribe(SubscriptionDataConfig dataConfig)
 {
     _subscriptionManager.Unsubscribe(dataConfig);
     _aggregator.Remove(dataConfig);
 }
Пример #3
0
 /// <summary>
 /// Removes the specified configuration
 /// </summary>
 /// <param name="dataConfig">Subscription config to be removed</param>
 public void Unsubscribe(SubscriptionDataConfig dataConfig)
 {
     Unsubscribe(new Symbol[] { dataConfig.Symbol });
     _aggregator.Remove(dataConfig);
 }