Observer.AsObserver(IObserver) method¶
Defined in
Type: Observer
Namespace: System.Reactive
Assembly: System.Reactive.dll
Applies to
netstandard2.0
public static IObserver<T> AsObserver<T>(this IObserver<T> observer)
Summary: Hides the identity of an observer.
Type parameters
| Name | Description |
|---|---|
T | The type of the elements received by the source observer. |
Parameters
| Name | Type | Description |
|---|---|---|
observer | IObserver | An observer whose identity to hide. |
Returns: IObserver
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | observer is null. |