Пример #1
0
        private void Dispose(bool disposing)
        {
            if (_disposed)
            {
                return;
            }
            if (disposing)
            {
                _pubSub.Unsubscribe(this);
            }

            _disposed = true;
        }
Пример #2
0
 private void UnsubscribeForNotifications()
 {
     _publisherSubscriber.Unsubscribe(_progressiveTaskStartSubscription);
     _publisherSubscriber.Unsubscribe(_progressiveTaskPerformStepSubscription);
     _publisherSubscriber.Unsubscribe(_progressiveTaskCompleteSubscription);
 }