ToNotifier(T) Method

Observer.ToNotifier<T> Method

Creates a notification callback from an observer.

Namespace:  System.Reactive
Assembly:  System.Reactive (in System.Reactive.dll)

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

Type Parameters


The observer argument type.


Type: System.IObserver<T>
The observer object.

Return Value

Type: System.Action<Notification<T>>
The action that forwards its input notification to the underlying observer.

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. For more information, see or
© 2015 Microsoft