Exemplo n.º 1
0
            public IDisposable Run()
            {
                var result = default(IObservable <TResult>);

                try
                {
                    result = _parent.Eval();
                }
                catch (Exception exception)
                {
                    ForwardOnError(exception);
                    return(Disposable.Empty);
                }

                return(result.SubscribeSafe(this));
            }
Exemplo n.º 2
0
            public void Run()
            {
                var result = default(IObservable <TResult>);

                try
                {
                    result = _parent.Eval();
                }
                catch (Exception exception)
                {
                    ForwardOnError(exception);

                    return;
                }

                SetUpstream(result.SubscribeSafe(this));
            }