private void OnConnectorSubscriptionStarted(Subscription subscription)
 {
     if (_subscriptions.ContainsKey(subscription))
     {
         SubscriptionStarted?.Invoke(subscription);
     }
 }
Example #2
0
        private void RaiseSubscriptionStarted(Subscription subscription)
        {
            if (subscription == null)
            {
                throw new ArgumentNullException(nameof(subscription));
            }

            SubscriptionStarted?.Invoke(subscription);
        }