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))); }
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))); }
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))); }