Notification.ToObservable<T> Method (Notification<T>)

March 22, 2012

Converts the Notification to an Observable.

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

public static IObservable<T> ToObservable<T>(
	this Notification<T> notification
)

Type Parameters

T

Parameters

notification
Type: Microsoft.Phone.Reactive.Notification<T>

Return Value

Type: System.IObservable<T>
Returns IObservable<T>.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Notification<T>. 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: