Observer.ToNotifier(Of 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)

'Declaration
<ExtensionAttribute> _
Public Shared Function ToNotifier(Of T) ( _
	observer As IObserver(Of T) _
) As Action(Of Notification(Of T))

Type Parameters

T

Parameters

observer
Type: System.IObserver(Of T)

Return Value

Type: System.Action(Of Notification(Of T))
Returns Action(Of T).

Usage Note

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