Observer.ToNotifier<T> Method

March 22, 2012

Creates a notification callback from an observer.

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

public static Action<Notification<T>> ToNotifier<T>(
	this IObserver<T> observer
)

Type Parameters

T

Parameters

observer
Type: System.IObserver<T>

Return Value

Type: System.Action<Notification<T>>
Returns Action<T>.

Usage Note

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