Exemple #1
0
        public IDisposable Observe(Action <TEvent, TContext, TModel> onNext, Action onCompleted)
        {
            var observer = new EventObserver <TEvent, TContext, TModel>(onNext, onCompleted);

            return(Observe(observer));
        }
Exemple #2
0
        public IDisposable Observe(Action <TEvent, TContext> onNext)
        {
            var observer = new EventObserver <TEvent, TContext, TModel>(onNext);

            return(Observe(observer));
        }