예제 #1
0
 public static IDisposable SubscribeWithState3 <T, TState1, TState2, TState3>(this IObservable <T> source,
                                                                              TState1 state1, TState2 state2, TState3 state3, Action <T, TState1, TState2, TState3> onNext,
                                                                              Action <Exception, TState1, TState2, TState3> onError, Action <TState1, TState2, TState3> onCompleted)
 {
     return(source.Subscribe(
                Observer.CreateSubscribeWithState3Observer(state1, state2, state3, onNext, onError, onCompleted)));
 }
예제 #2
0
 public static IDisposable SubscribeWithState3 <T, TState1, TState2, TState3>(this IObservable <T> source, TState1 state1, TState2 state2, TState3 state3, Action <T, TState1, TState2, TState3> onNext)
 {
     return(source.Subscribe(Observer.CreateSubscribeWithState3Observer(state1, state2, state3, onNext, Stubs <TState1, TState2, TState3> .Throw, Stubs <TState1, TState2, TState3> .Ignore)));
 }
예제 #3
0
 public static IDisposable SubscribeWithState3 <T, TState1, TState2, TState3>(this UniRx.IObservable <T> source, TState1 state1, TState2 state2, TState3 state3, Action <T, TState1, TState2, TState3> onNext, Action <Exception, TState1, TState2, TState3> onError)
 {
     return(source.Subscribe(Observer.CreateSubscribeWithState3Observer(state1, state2, state3, onNext, onError, Stubs <TState1, TState2, TState3> .Ignore)));
 }