Skip to content

,System.IObservable{--1},System.Func{--0,--1,--2})} },System.Func{System.Collections.Generic.IList{--0},--1})} })} [])} ,System.Collections.Generic.IEnumerable{--1},System.Func{--0,--1,--2})} ,System.IObservable{--1},System.IObservable{--2},System.Func{--0,--1,--2,--3})} ,System.IObservable{--1},System.IObservable{--2},System.IObservable{--3},System.Func{--0,--1,--2,--3,--4})} ,System.IObservable{--1},System.IObservable{--2},System.IObservable{--3},System.IObservable{--4},System.Func{--0,--1,--2,--3,--4,--5})} ,System.IObservable{--1},System.IObservable{--2},System.IObservable{--3},System.IObservable{--4},System.IObservable{--5},System.Func{--0,--1,--2,--3,--4,--5,--6})} ,System.IObservable{--1},System.IObservable{--2},System.IObservable{--3},System.IObservable{--4},System.IObservable{--5},System.IObservable{--6},System.Func{--0,--1,--2,--3,--4,--5,--6,--7})} ,System.IObservable{--1},System.IObservable{--2},System.IObservable{--3},System.IObservable{--4},System.IObservable{--5},System.IObservable{--6},System.IObservable{--7},System.Func{--0,--1,--2,--3,--4,--5,--6,--7,--8})} ,System.IObservable{--1},System.IObservable{--2},System.IObservable{--3},System.IObservable{--4},System.IObservable{--5},System.IObservable{--6},System.IObservable{--7},System.IObservable{--8},System.Func{--0,--1,--2,--3,--4,--5,--6,--7,--8,--9})} ,System.IObservable{--1},System.IObservable{--2},System.IObservable{--3},System.IObservable{--4},System.IObservable{--5},System.IObservable{--6},System.IObservable{--7},System.IObservable{--8},System.IObservable{--9},System.Func{--0,--1,--2,--3,--4,--5,--6,--7,--8,--9,--10})} ,System.IObservable{--1},System.IObservable{--2},System.IObservable{--3},System.IObservable{--4},System.IObservable{--5},System.IObservable{--6},System.IObservable{--7},System.IObservable{--8},System.IObservable{--9},System.IObservable{--10},System.Func{--0,--1,--2,--3,--4,--5,--6,--7,--8,--9,--10,--11})} ,System.IObservable{--1},System.IObservable{--2},System.IObservable{--3},System.IObservable{--4},System.IObservable{--5},System.IObservable{--6},System.IObservable{--7},System.IObservable{--8},System.IObservable{--9},System.IObservable{--10},System.IObservable{--11},System.Func{--0,--1,--2,--3,--4,--5,--6,--7,--8,--9,--10,--11,--12})} ,System.IObservable{--1},System.IObservable{--2},System.IObservable{--3},System.IObservable{--4},System.IObservable{--5},System.IObservable{--6},System.IObservable{--7},System.IObservable{--8},System.IObservable{--9},System.IObservable{--10},System.IObservable{--11},System.IObservable{--12},System.Func{--0,--1,--2,--3,--4,--5,--6,--7,--8,--9,--10,--11,--12,--13})} ,System.IObservable{--1},System.IObservable{--2},System.IObservable{--3},System.IObservable{--4},System.IObservable{--5},System.IObservable{--6},System.IObservable{--7},System.IObservable{--8},System.IObservable{--9},System.IObservable{--10},System.IObservable{--11},System.IObservable{--12},System.IObservable{--13},System.Func{--0,--1,--2,--3,--4,--5,--6,--7,--8,--9,--10,--11,--12,--13,--14})} ,System.IObservable{--1},System.IObservable{--2},System.IObservable{--3},System.IObservable{--4},System.IObservable{--5},System.IObservable{--6},System.IObservable{--7},System.IObservable{--8},System.IObservable{--9},System.IObservable{--10},System.IObservable{--11},System.IObservable{--12},System.IObservable{--13},System.IObservable{--14},System.Func{--0,--1,--2,--3,--4,--5,--6,--7,--8,--9,--10,--11,--12,--13,--14,--15})} ,System.IObservable{--1},System.IObservable{--2},System.IObservable{--3},System.IObservable{--4},System.IObservable{--5},System.IObservable{--6},System.IObservable{--7},System.IObservable{--8},System.IObservable{--9},System.IObservable{--10},System.IObservable{--11},System.IObservable{--12},System.IObservable{--13},System.IObservable{--14},System.IObservable{--15},System.Func{--0,--1,--2,--3,--4,--5,--6,--7,--8,--9,--10,--11,--12,--13,--14,--15,--16})}

Observable.Zip(IObservable, IObservable, Func) method

Defined in

Type: Observable Namespace: System.Reactive.Linq Assembly: System.Reactive.dll

Applies to

netstandard2.0

Overloads

  • 1. public static IObservable<TResult> Zip<TSource1, TSource2, TResult>(this IObservable<TSource1> first, IObservable<TSource2> second, Func<TSource1, TSource2, TResult> resultSelector)
  • 2. public static IObservable<TResult> Zip<TSource, TResult>(this IEnumerable<IObservable<TSource>> sources, Func<IList<TSource>, TResult> resultSelector)
  • 3. public static IObservable<IList<TSource>> Zip<TSource>(this IEnumerable<IObservable<TSource>> sources)
  • 4. public static IObservable<IList<TSource>> Zip<TSource>(params IObservable<TSource>[] sources)
  • 5. public static IObservable<TResult> Zip<TSource1, TSource2, TResult>(this IObservable<TSource1> first, IEnumerable<TSource2> second, Func<TSource1, TSource2, TResult> resultSelector)
  • 6. public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, Func<TSource1, TSource2, TSource3, TResult> resultSelector)
  • 7. public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, Func<TSource1, TSource2, TSource3, TSource4, TResult> resultSelector)
  • 8. public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TResult> resultSelector)
  • 9. public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TResult> resultSelector)
  • 10. public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TResult> resultSelector)
  • 11. public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TResult> resultSelector)
  • 12. public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, IObservable<TSource9> source9, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TResult> resultSelector)
  • 13. public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, IObservable<TSource9> source9, IObservable<TSource10> source10, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TResult> resultSelector)
  • 14. public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, IObservable<TSource9> source9, IObservable<TSource10> source10, IObservable<TSource11> source11, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TResult> resultSelector)
  • 15. public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, IObservable<TSource9> source9, IObservable<TSource10> source10, IObservable<TSource11> source11, IObservable<TSource12> source12, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TResult> resultSelector)
  • 16. public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TSource13, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, IObservable<TSource9> source9, IObservable<TSource10> source10, IObservable<TSource11> source11, IObservable<TSource12> source12, IObservable<TSource13> source13, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TSource13, TResult> resultSelector)
  • 17. public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TSource13, TSource14, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, IObservable<TSource9> source9, IObservable<TSource10> source10, IObservable<TSource11> source11, IObservable<TSource12> source12, IObservable<TSource13> source13, IObservable<TSource14> source14, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TSource13, TSource14, TResult> resultSelector)
  • 18. public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TSource13, TSource14, TSource15, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, IObservable<TSource9> source9, IObservable<TSource10> source10, IObservable<TSource11> source11, IObservable<TSource12> source12, IObservable<TSource13> source13, IObservable<TSource14> source14, IObservable<TSource15> source15, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TSource13, TSource14, TSource15, TResult> resultSelector)
  • 19. public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TSource13, TSource14, TSource15, TSource16, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, IObservable<TSource9> source9, IObservable<TSource10> source10, IObservable<TSource11> source11, IObservable<TSource12> source12, IObservable<TSource13> source13, IObservable<TSource14> source14, IObservable<TSource15> source15, IObservable<TSource16> source16, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TSource13, TSource14, TSource15, TSource16, TResult> resultSelector)

1. Overload

public static IObservable<TResult> Zip<TSource1, TSource2, TResult>(this IObservable<TSource1> first, IObservable<TSource2> second, Func<TSource1, TSource2, TResult> resultSelector)

Summary: Merges two observable sequences into one observable sequence by combining their elements in a pairwise fashion.

Type parameters

NameDescription
TSource1The type of the elements in the first source sequence.
TSource2The type of the elements in the second source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
firstIObservableFirst observable source.
secondIObservableSecond observable source.
resultSelectorFuncFunction to invoke for each consecutive pair of elements from the first and second source.

Returns: IObservable -- An observable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionfirst or second or resultSelector is null.

2. Overload

public static IObservable<TResult> Zip<TSource, TResult>(this IEnumerable<IObservable<TSource>> sources, Func<IList<TSource>, TResult> resultSelector)

Summary: Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.

Type parameters

NameDescription
TSourceThe type of the elements in the source sequences.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
sourcesIEnumerable>Observable sources.
resultSelectorFunc, TResult>Function to invoke for each series of elements at corresponding indexes in the sources.

Returns: IObservable -- An observable sequence containing the result of combining elements of the sources using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionsources or resultSelector is null.

3. Overload

public static IObservable<IList<TSource>> Zip<TSource>(this IEnumerable<IObservable<TSource>> sources)

Summary: Merges the specified observable sequences into one observable sequence by emitting a list with the elements of the observable sequences at corresponding indexes.

Type parameters

NameDescription
TSourceThe type of the elements in the source sequences, and in the lists in the result sequence.

Parameters

NameTypeDescription
sourcesIEnumerable>Observable sources.

Returns: IObservable> -- An observable sequence containing lists of elements at corresponding indexes.

Exceptions

TypeCondition
System.ArgumentNullExceptionsources is null.

4. Overload

public static IObservable<IList<TSource>> Zip<TSource>(params IObservable<TSource>[] sources)

Summary: Merges the specified observable sequences into one observable sequence by emitting a list with the elements of the observable sequences at corresponding indexes.

Type parameters

NameDescription
TSourceThe type of the elements in the source sequences, and in the lists in the result sequence.

Parameters

NameTypeDescription
params sourcesIObservable<TSource>[]Observable sources.

Returns: IObservable> -- An observable sequence containing lists of elements at corresponding indexes.

Exceptions

TypeCondition
System.ArgumentNullExceptionsources is null.

5. Overload

public static IObservable<TResult> Zip<TSource1, TSource2, TResult>(this IObservable<TSource1> first, IEnumerable<TSource2> second, Func<TSource1, TSource2, TResult> resultSelector)

Summary: Merges an observable sequence and an enumerable sequence into one observable sequence by using the selector function.

Type parameters

NameDescription
TSource1The type of the elements in the first observable source sequence.
TSource2The type of the elements in the second enumerable source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
firstIObservableFirst observable source.
secondIEnumerableSecond enumerable source.
resultSelectorFuncFunction to invoke for each consecutive pair of elements from the first and second source.

Returns: IObservable -- An observable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionfirst or second or resultSelector is null.

6. Overload

public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, Func<TSource1, TSource2, TSource3, TResult> resultSelector)

Summary: Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.

Type parameters

NameDescription
TSource1The type of the elements in the first source sequence.
TSource2The type of the elements in the second source sequence.
TSource3The type of the elements in the third source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
source1IObservableFirst observable source.
source2IObservableSecond observable source.
source3IObservableThird observable source.
resultSelectorFuncFunction to invoke for each series of elements at corresponding indexes in the sources.

Returns: IObservable -- An observable sequence containing the result of combining elements of the sources using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource1 or source2 or source3 or resultSelector is null.

7. Overload

public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, Func<TSource1, TSource2, TSource3, TSource4, TResult> resultSelector)

Summary: Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.

Type parameters

NameDescription
TSource1The type of the elements in the first source sequence.
TSource2The type of the elements in the second source sequence.
TSource3The type of the elements in the third source sequence.
TSource4The type of the elements in the fourth source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
source1IObservableFirst observable source.
source2IObservableSecond observable source.
source3IObservableThird observable source.
source4IObservableFourth observable source.
resultSelectorFuncFunction to invoke for each series of elements at corresponding indexes in the sources.

Returns: IObservable -- An observable sequence containing the result of combining elements of the sources using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource1 or source2 or source3 or source4 or resultSelector is null.

8. Overload

public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TResult> resultSelector)

Summary: Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.

Type parameters

NameDescription
TSource1The type of the elements in the first source sequence.
TSource2The type of the elements in the second source sequence.
TSource3The type of the elements in the third source sequence.
TSource4The type of the elements in the fourth source sequence.
TSource5The type of the elements in the fifth source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
source1IObservableFirst observable source.
source2IObservableSecond observable source.
source3IObservableThird observable source.
source4IObservableFourth observable source.
source5IObservableFifth observable source.
resultSelectorFuncFunction to invoke for each series of elements at corresponding indexes in the sources.

Returns: IObservable -- An observable sequence containing the result of combining elements of the sources using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource1 or source2 or source3 or source4 or source5 or resultSelector is null.

9. Overload

public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TResult> resultSelector)

Summary: Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.

Type parameters

NameDescription
TSource1The type of the elements in the first source sequence.
TSource2The type of the elements in the second source sequence.
TSource3The type of the elements in the third source sequence.
TSource4The type of the elements in the fourth source sequence.
TSource5The type of the elements in the fifth source sequence.
TSource6The type of the elements in the sixth source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
source1IObservableFirst observable source.
source2IObservableSecond observable source.
source3IObservableThird observable source.
source4IObservableFourth observable source.
source5IObservableFifth observable source.
source6IObservableSixth observable source.
resultSelectorFuncFunction to invoke for each series of elements at corresponding indexes in the sources.

Returns: IObservable -- An observable sequence containing the result of combining elements of the sources using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource1 or source2 or source3 or source4 or source5 or source6 or resultSelector is null.

10. Overload

public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TResult> resultSelector)

Summary: Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.

Type parameters

NameDescription
TSource1The type of the elements in the first source sequence.
TSource2The type of the elements in the second source sequence.
TSource3The type of the elements in the third source sequence.
TSource4The type of the elements in the fourth source sequence.
TSource5The type of the elements in the fifth source sequence.
TSource6The type of the elements in the sixth source sequence.
TSource7The type of the elements in the seventh source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
source1IObservableFirst observable source.
source2IObservableSecond observable source.
source3IObservableThird observable source.
source4IObservableFourth observable source.
source5IObservableFifth observable source.
source6IObservableSixth observable source.
source7IObservableSeventh observable source.
resultSelectorFuncFunction to invoke for each series of elements at corresponding indexes in the sources.

Returns: IObservable -- An observable sequence containing the result of combining elements of the sources using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource1 or source2 or source3 or source4 or source5 or source6 or source7 or resultSelector is null.

11. Overload

public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TResult> resultSelector)

Summary: Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.

Type parameters

NameDescription
TSource1The type of the elements in the first source sequence.
TSource2The type of the elements in the second source sequence.
TSource3The type of the elements in the third source sequence.
TSource4The type of the elements in the fourth source sequence.
TSource5The type of the elements in the fifth source sequence.
TSource6The type of the elements in the sixth source sequence.
TSource7The type of the elements in the seventh source sequence.
TSource8The type of the elements in the eighth source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
source1IObservableFirst observable source.
source2IObservableSecond observable source.
source3IObservableThird observable source.
source4IObservableFourth observable source.
source5IObservableFifth observable source.
source6IObservableSixth observable source.
source7IObservableSeventh observable source.
source8IObservableEighth observable source.
resultSelectorFuncFunction to invoke for each series of elements at corresponding indexes in the sources.

Returns: IObservable -- An observable sequence containing the result of combining elements of the sources using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource1 or source2 or source3 or source4 or source5 or source6 or source7 or source8 or resultSelector is null.

12. Overload

public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, IObservable<TSource9> source9, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TResult> resultSelector)

Summary: Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.

Type parameters

NameDescription
TSource1The type of the elements in the first source sequence.
TSource2The type of the elements in the second source sequence.
TSource3The type of the elements in the third source sequence.
TSource4The type of the elements in the fourth source sequence.
TSource5The type of the elements in the fifth source sequence.
TSource6The type of the elements in the sixth source sequence.
TSource7The type of the elements in the seventh source sequence.
TSource8The type of the elements in the eighth source sequence.
TSource9The type of the elements in the ninth source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
source1IObservableFirst observable source.
source2IObservableSecond observable source.
source3IObservableThird observable source.
source4IObservableFourth observable source.
source5IObservableFifth observable source.
source6IObservableSixth observable source.
source7IObservableSeventh observable source.
source8IObservableEighth observable source.
source9IObservableNinth observable source.
resultSelectorFuncFunction to invoke for each series of elements at corresponding indexes in the sources.

Returns: IObservable -- An observable sequence containing the result of combining elements of the sources using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource1 or source2 or source3 or source4 or source5 or source6 or source7 or source8 or source9 or resultSelector is null.

13. Overload

public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, IObservable<TSource9> source9, IObservable<TSource10> source10, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TResult> resultSelector)

Summary: Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.

Type parameters

NameDescription
TSource1The type of the elements in the first source sequence.
TSource2The type of the elements in the second source sequence.
TSource3The type of the elements in the third source sequence.
TSource4The type of the elements in the fourth source sequence.
TSource5The type of the elements in the fifth source sequence.
TSource6The type of the elements in the sixth source sequence.
TSource7The type of the elements in the seventh source sequence.
TSource8The type of the elements in the eighth source sequence.
TSource9The type of the elements in the ninth source sequence.
TSource10The type of the elements in the tenth source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
source1IObservableFirst observable source.
source2IObservableSecond observable source.
source3IObservableThird observable source.
source4IObservableFourth observable source.
source5IObservableFifth observable source.
source6IObservableSixth observable source.
source7IObservableSeventh observable source.
source8IObservableEighth observable source.
source9IObservableNinth observable source.
source10IObservableTenth observable source.
resultSelectorFuncFunction to invoke for each series of elements at corresponding indexes in the sources.

Returns: IObservable -- An observable sequence containing the result of combining elements of the sources using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource1 or source2 or source3 or source4 or source5 or source6 or source7 or source8 or source9 or source10 or resultSelector is null.

14. Overload

public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, IObservable<TSource9> source9, IObservable<TSource10> source10, IObservable<TSource11> source11, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TResult> resultSelector)

Summary: Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.

Type parameters

NameDescription
TSource1The type of the elements in the first source sequence.
TSource2The type of the elements in the second source sequence.
TSource3The type of the elements in the third source sequence.
TSource4The type of the elements in the fourth source sequence.
TSource5The type of the elements in the fifth source sequence.
TSource6The type of the elements in the sixth source sequence.
TSource7The type of the elements in the seventh source sequence.
TSource8The type of the elements in the eighth source sequence.
TSource9The type of the elements in the ninth source sequence.
TSource10The type of the elements in the tenth source sequence.
TSource11The type of the elements in the eleventh source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
source1IObservableFirst observable source.
source2IObservableSecond observable source.
source3IObservableThird observable source.
source4IObservableFourth observable source.
source5IObservableFifth observable source.
source6IObservableSixth observable source.
source7IObservableSeventh observable source.
source8IObservableEighth observable source.
source9IObservableNinth observable source.
source10IObservableTenth observable source.
source11IObservableEleventh observable source.
resultSelectorFuncFunction to invoke for each series of elements at corresponding indexes in the sources.

Returns: IObservable -- An observable sequence containing the result of combining elements of the sources using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource1 or source2 or source3 or source4 or source5 or source6 or source7 or source8 or source9 or source10 or source11 or resultSelector is null.

15. Overload

public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, IObservable<TSource9> source9, IObservable<TSource10> source10, IObservable<TSource11> source11, IObservable<TSource12> source12, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TResult> resultSelector)

Summary: Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.

Type parameters

NameDescription
TSource1The type of the elements in the first source sequence.
TSource2The type of the elements in the second source sequence.
TSource3The type of the elements in the third source sequence.
TSource4The type of the elements in the fourth source sequence.
TSource5The type of the elements in the fifth source sequence.
TSource6The type of the elements in the sixth source sequence.
TSource7The type of the elements in the seventh source sequence.
TSource8The type of the elements in the eighth source sequence.
TSource9The type of the elements in the ninth source sequence.
TSource10The type of the elements in the tenth source sequence.
TSource11The type of the elements in the eleventh source sequence.
TSource12The type of the elements in the twelfth source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
source1IObservableFirst observable source.
source2IObservableSecond observable source.
source3IObservableThird observable source.
source4IObservableFourth observable source.
source5IObservableFifth observable source.
source6IObservableSixth observable source.
source7IObservableSeventh observable source.
source8IObservableEighth observable source.
source9IObservableNinth observable source.
source10IObservableTenth observable source.
source11IObservableEleventh observable source.
source12IObservableTwelfth observable source.
resultSelectorFuncFunction to invoke for each series of elements at corresponding indexes in the sources.

Returns: IObservable -- An observable sequence containing the result of combining elements of the sources using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource1 or source2 or source3 or source4 or source5 or source6 or source7 or source8 or source9 or source10 or source11 or source12 or resultSelector is null.

16. Overload

public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TSource13, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, IObservable<TSource9> source9, IObservable<TSource10> source10, IObservable<TSource11> source11, IObservable<TSource12> source12, IObservable<TSource13> source13, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TSource13, TResult> resultSelector)

Summary: Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.

Type parameters

NameDescription
TSource1The type of the elements in the first source sequence.
TSource2The type of the elements in the second source sequence.
TSource3The type of the elements in the third source sequence.
TSource4The type of the elements in the fourth source sequence.
TSource5The type of the elements in the fifth source sequence.
TSource6The type of the elements in the sixth source sequence.
TSource7The type of the elements in the seventh source sequence.
TSource8The type of the elements in the eighth source sequence.
TSource9The type of the elements in the ninth source sequence.
TSource10The type of the elements in the tenth source sequence.
TSource11The type of the elements in the eleventh source sequence.
TSource12The type of the elements in the twelfth source sequence.
TSource13The type of the elements in the thirteenth source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
source1IObservableFirst observable source.
source2IObservableSecond observable source.
source3IObservableThird observable source.
source4IObservableFourth observable source.
source5IObservableFifth observable source.
source6IObservableSixth observable source.
source7IObservableSeventh observable source.
source8IObservableEighth observable source.
source9IObservableNinth observable source.
source10IObservableTenth observable source.
source11IObservableEleventh observable source.
source12IObservableTwelfth observable source.
source13IObservableThirteenth observable source.
resultSelectorFuncFunction to invoke for each series of elements at corresponding indexes in the sources.

Returns: IObservable -- An observable sequence containing the result of combining elements of the sources using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource1 or source2 or source3 or source4 or source5 or source6 or source7 or source8 or source9 or source10 or source11 or source12 or source13 or resultSelector is null.

17. Overload

public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TSource13, TSource14, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, IObservable<TSource9> source9, IObservable<TSource10> source10, IObservable<TSource11> source11, IObservable<TSource12> source12, IObservable<TSource13> source13, IObservable<TSource14> source14, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TSource13, TSource14, TResult> resultSelector)

Summary: Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.

Type parameters

NameDescription
TSource1The type of the elements in the first source sequence.
TSource2The type of the elements in the second source sequence.
TSource3The type of the elements in the third source sequence.
TSource4The type of the elements in the fourth source sequence.
TSource5The type of the elements in the fifth source sequence.
TSource6The type of the elements in the sixth source sequence.
TSource7The type of the elements in the seventh source sequence.
TSource8The type of the elements in the eighth source sequence.
TSource9The type of the elements in the ninth source sequence.
TSource10The type of the elements in the tenth source sequence.
TSource11The type of the elements in the eleventh source sequence.
TSource12The type of the elements in the twelfth source sequence.
TSource13The type of the elements in the thirteenth source sequence.
TSource14The type of the elements in the fourteenth source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
source1IObservableFirst observable source.
source2IObservableSecond observable source.
source3IObservableThird observable source.
source4IObservableFourth observable source.
source5IObservableFifth observable source.
source6IObservableSixth observable source.
source7IObservableSeventh observable source.
source8IObservableEighth observable source.
source9IObservableNinth observable source.
source10IObservableTenth observable source.
source11IObservableEleventh observable source.
source12IObservableTwelfth observable source.
source13IObservableThirteenth observable source.
source14IObservableFourteenth observable source.
resultSelectorFuncFunction to invoke for each series of elements at corresponding indexes in the sources.

Returns: IObservable -- An observable sequence containing the result of combining elements of the sources using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource1 or source2 or source3 or source4 or source5 or source6 or source7 or source8 or source9 or source10 or source11 or source12 or source13 or source14 or resultSelector is null.

18. Overload

public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TSource13, TSource14, TSource15, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, IObservable<TSource9> source9, IObservable<TSource10> source10, IObservable<TSource11> source11, IObservable<TSource12> source12, IObservable<TSource13> source13, IObservable<TSource14> source14, IObservable<TSource15> source15, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TSource13, TSource14, TSource15, TResult> resultSelector)

Summary: Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.

Type parameters

NameDescription
TSource1The type of the elements in the first source sequence.
TSource2The type of the elements in the second source sequence.
TSource3The type of the elements in the third source sequence.
TSource4The type of the elements in the fourth source sequence.
TSource5The type of the elements in the fifth source sequence.
TSource6The type of the elements in the sixth source sequence.
TSource7The type of the elements in the seventh source sequence.
TSource8The type of the elements in the eighth source sequence.
TSource9The type of the elements in the ninth source sequence.
TSource10The type of the elements in the tenth source sequence.
TSource11The type of the elements in the eleventh source sequence.
TSource12The type of the elements in the twelfth source sequence.
TSource13The type of the elements in the thirteenth source sequence.
TSource14The type of the elements in the fourteenth source sequence.
TSource15The type of the elements in the fifteenth source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
source1IObservableFirst observable source.
source2IObservableSecond observable source.
source3IObservableThird observable source.
source4IObservableFourth observable source.
source5IObservableFifth observable source.
source6IObservableSixth observable source.
source7IObservableSeventh observable source.
source8IObservableEighth observable source.
source9IObservableNinth observable source.
source10IObservableTenth observable source.
source11IObservableEleventh observable source.
source12IObservableTwelfth observable source.
source13IObservableThirteenth observable source.
source14IObservableFourteenth observable source.
source15IObservableFifteenth observable source.
resultSelectorFuncFunction to invoke for each series of elements at corresponding indexes in the sources.

Returns: IObservable -- An observable sequence containing the result of combining elements of the sources using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource1 or source2 or source3 or source4 or source5 or source6 or source7 or source8 or source9 or source10 or source11 or source12 or source13 or source14 or source15 or resultSelector is null.

19. Overload

public static IObservable<TResult> Zip<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TSource13, TSource14, TSource15, TSource16, TResult>(this IObservable<TSource1> source1, IObservable<TSource2> source2, IObservable<TSource3> source3, IObservable<TSource4> source4, IObservable<TSource5> source5, IObservable<TSource6> source6, IObservable<TSource7> source7, IObservable<TSource8> source8, IObservable<TSource9> source9, IObservable<TSource10> source10, IObservable<TSource11> source11, IObservable<TSource12> source12, IObservable<TSource13> source13, IObservable<TSource14> source14, IObservable<TSource15> source15, IObservable<TSource16> source16, Func<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6, TSource7, TSource8, TSource9, TSource10, TSource11, TSource12, TSource13, TSource14, TSource15, TSource16, TResult> resultSelector)

Summary: Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.

Type parameters

NameDescription
TSource1The type of the elements in the first source sequence.
TSource2The type of the elements in the second source sequence.
TSource3The type of the elements in the third source sequence.
TSource4The type of the elements in the fourth source sequence.
TSource5The type of the elements in the fifth source sequence.
TSource6The type of the elements in the sixth source sequence.
TSource7The type of the elements in the seventh source sequence.
TSource8The type of the elements in the eighth source sequence.
TSource9The type of the elements in the ninth source sequence.
TSource10The type of the elements in the tenth source sequence.
TSource11The type of the elements in the eleventh source sequence.
TSource12The type of the elements in the twelfth source sequence.
TSource13The type of the elements in the thirteenth source sequence.
TSource14The type of the elements in the fourteenth source sequence.
TSource15The type of the elements in the fifteenth source sequence.
TSource16The type of the elements in the sixteenth source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
source1IObservableFirst observable source.
source2IObservableSecond observable source.
source3IObservableThird observable source.
source4IObservableFourth observable source.
source5IObservableFifth observable source.
source6IObservableSixth observable source.
source7IObservableSeventh observable source.
source8IObservableEighth observable source.
source9IObservableNinth observable source.
source10IObservableTenth observable source.
source11IObservableEleventh observable source.
source12IObservableTwelfth observable source.
source13IObservableThirteenth observable source.
source14IObservableFourteenth observable source.
source15IObservableFifteenth observable source.
source16IObservableSixteenth observable source.
resultSelectorFuncFunction to invoke for each series of elements at corresponding indexes in the sources.

Returns: IObservable -- An observable sequence containing the result of combining elements of the sources using the specified result selector function.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource1 or source2 or source3 or source4 or source5 or source6 or source7 or source8 or source9 or source10 or source11 or source12 or source13 or source14 or source15 or source16 or resultSelector is null.