Share via


Observable.FromEvent Method

Include Protected Members
Include Inherited Members

Converts a .NET event to an observable sequence.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member FromEvent<TEventArgs>(Action<Action<TEventArgs>>, Action<Action<TEventArgs>>) Converts a .NET event to an observable sequence.
Public methodStatic member FromEvent(Action<Action>, Action<Action>) Converts a .NET event to an observable sequence.
Public methodStatic member FromEvent<TDelegate, TEventArgs>(Action<TDelegate>, Action<TDelegate>) Converts a .NET event to an observable sequence.
Public methodStatic member FromEvent<TDelegate, TEventArgs>(Func<Action<TEventArgs>, TDelegate>, Action<TDelegate>, Action<TDelegate>) Converts a .NET event to an observable sequence.

Top

See Also

Reference

Observable Class

System.Reactive.Linq Namespace