protected override IDisposable SubscribeCore(IObserver <EventPattern <TEventArgs> > observer, IDisposable cancel) { var fe = new FromEventPattern(this, observer); return(fe.Register() ? fe : Disposable.Empty); }
protected override IDisposable SubscribeCore(UniRx.IObserver <EventPattern <TEventArgs> > observer, IDisposable cancel) { FromEventPattern fromEventPattern = new FromEventPattern(this, observer); return((!fromEventPattern.Register()) ? Disposable.Empty : fromEventPattern); }