public static IObservable <TR> CombineLatest <T1, T2, T3, T4, T5, TR>(this IObservable <T1> source1, IObservable <T2> source2, IObservable <T3> source3, IObservable <T4> source4, IObservable <T5> source5, CombineLatestFunc <T1, T2, T3, T4, T5, TR> resultSelector) { return(new CombineLatestObservable <T1, T2, T3, T4, T5, TR>(source1, source2, source3, source4, source5, resultSelector)); }
public CombineLatestObservable(IObservable <T1> source1, IObservable <T2> source2, IObservable <T3> source3, CombineLatestFunc <T1, T2, T3, TR> resultSelector) : base(source1.IsRequiredSubscribeOnCurrentThread <T1>() || source2.IsRequiredSubscribeOnCurrentThread <T2>() || source3.IsRequiredSubscribeOnCurrentThread <T3>()) { this.source1 = source1; this.source2 = source2; this.source3 = source3; this.resultSelector = resultSelector; }
public CombineLatestObservable(IObservable <T1> source1, IObservable <T2> source2, IObservable <T3> source3, IObservable <T4> source4, IObservable <T5> source5, IObservable <T6> source6, CombineLatestFunc <T1, T2, T3, T4, T5, T6, TR> resultSelector) : base(source1.IsRequiredSubscribeOnCurrentThread <T1>() || source2.IsRequiredSubscribeOnCurrentThread <T2>() || source3.IsRequiredSubscribeOnCurrentThread <T3>() || source4.IsRequiredSubscribeOnCurrentThread <T4>() || source5.IsRequiredSubscribeOnCurrentThread <T5>() || source6.IsRequiredSubscribeOnCurrentThread <T6>()) { this.source1 = source1; this.source2 = source2; this.source3 = source3; this.source4 = source4; this.source5 = source5; this.source6 = source6; this.resultSelector = resultSelector; }