Skip to content

)}

Observer.ToNotifier(IObserver) method

Defined in

Type: Observer Namespace: System.Reactive Assembly: System.Reactive.dll

Applies to

netstandard2.0

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

Summary: Creates a notification callback from an observer.

Type parameters

NameDescription
TThe type of the elements received by the observer.

Parameters

NameTypeDescription
observerIObserverObserver object.

Returns: Action> -- The action that forwards its input notification to the underlying observer.

Exceptions

TypeCondition
System.ArgumentNullExceptionobserver is null.