static IDisposable Subscribe <T>(IObservable <T> subject,
                                  Action <T> onNext          = null,
                                  Action <Exception> onError = null,
                                  Action onCompleted         = null) =>
 subject.Subscribe(onNext ?? BreakingAction.Of <T>(),
                   onError ?? BreakingAction.Of <Exception>(),
                   onCompleted ?? BreakingAction.WithoutArguments);
Beispiel #2
0
 public void PipeIsLazy()
 {
     new BreakingSequence <int>().Pipe(BreakingAction.Of <int>());
 }