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
| Name | Description |
|---|---|
T | The type of the elements received by the observer. |
Parameters
| Name | Type | Description |
|---|---|---|
observer | IObserver | Observer object. |
Returns: Action
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | observer is null. |