Skip to content

,System.IObservable{--1})}

Observable.And(IObservable, IObservable) method

Defined in

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

Applies to

netstandard2.0

public static Pattern<TLeft, TRight> And<TLeft, TRight>(this IObservable<TLeft> left, IObservable<TRight> right)

Summary: Creates a pattern that matches when both observable sequences have an available element.

Type parameters

NameDescription
TLeftThe type of the elements in the left sequence.
TRightThe type of the elements in the right sequence.

Parameters

NameTypeDescription
leftIObservableObservable sequence to match with the right sequence.
rightIObservableObservable sequence to match with the left sequence.

Returns: Pattern -- Pattern object that matches when both observable sequences have an available element.

Exceptions

TypeCondition
System.ArgumentNullExceptionleft or right is null.