>
Defined in Type: Observable
Namespace: System.Reactive.Linq
Assembly: System.Reactive.dll
Applies to
netstandard2.0
public static IEventPatternSource<TEventArgs> ToEventPattern<TEventArgs>(this IObservable<EventPattern<TEventArgs>> source)
Summary: Exposes an observable sequence as an object with a .NET event, conforming to the standard .NET event pattern.
Type parameters
| Name | Description |
|---|---|
TEventArgs | The type of the event data generated by the event. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | Observable source sequence. |
Returns: IEventPatternSource
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source is null. |