Observable.And<TLeft, TRight> Method

March 22, 2012

Matches when both observable sequences have an available value.

Namespace:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

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

Type Parameters

TLeft
TRight

Parameters

left
Type: System.IObservable<TLeft>
right
Type: System.IObservable<TRight>

Return Value

Type: Microsoft.Phone.Reactive.Pattern<TLeft, TRight>
Returns Pattern<T1, T2>.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable<TLeft>. When you use instance method syntax to call this method, omit the first parameter.

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Show: