Class EventPattern<TEventArgs>
Represents a .NET event invocation consisting of the weakly typed object that raised the event and the data that was generated by the event.
Inherited Members
Namespace: System.Reactive
Assembly: System.Reactive.Linq.dll
Syntax
public class EventPattern<TEventArgs> : EventPattern<object, TEventArgs>, IEquatable<EventPattern<object, TEventArgs>>, IEventPattern<object, TEventArgs> where TEventArgs : EventArgs
Type Parameters
Name | Description |
---|---|
TEventArgs | The type of the event data generated by the event. |
Constructors
| Improve this Doc View SourceEventPattern(Object, TEventArgs)
Creates a new data representation instance of a .NET event invocation with the given sender and event data.
Declaration
public EventPattern(object sender, TEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Object | sender | The sender object that raised the event. |
TEventArgs | e | The event data that was generated by the event. |