Пример #1
0
        private void OnNotificationEvent(object sender, NotificationEventArgs args)
        {
            var currentSub = _subscriptions.FirstOrDefault(x => x.Value.Id == args.Subscription.Id);
            var eventData  = new SubscriptionNotificationEventCollection(currentSub.Key, args.Events);

            this._EventProcessor.Invoke(eventData);
        }
 private void OnNotificationEvent(object sender, NotificationEventArgs args)
 {
     var currentSub = _subscriptions.FirstOrDefault(x => x.Value.Id == args.Subscription.Id);
     var eventData = new SubscriptionNotificationEventCollection(currentSub.Key, args.Events);
     this._EventProcessor.Invoke(eventData);
 }