Exemple #1
0
        public IReliableReactiveSubscription Subscribe(IReliableReactiveObserver <T> observer, Uri subscriptionUri, object state = null)
        {
            if (observer == null)
            {
                throw new ArgumentNullException(nameof(observer));
            }
            if (subscriptionUri == null)
            {
                throw new ArgumentNullException(nameof(subscriptionUri));
            }

            return(SubscribeCore(observer, subscriptionUri, state));
        }
Exemple #2
0
 protected abstract IReliableReactiveSubscription SubscribeCore(IReliableReactiveObserver <T> observer, Uri subscriptionUri, object state);