Interface IEventPattern<TSender, TEventArgs>
Represents a .NET event invocation consisting of the strongly typed object that raised the event and the data that was generated by the event.
Namespace: System.Reactive
Assembly: System.Reactive.Interfaces.dll
Syntax
public interface IEventPattern<out TSender, out TEventArgs>
where TEventArgs : EventArgs
Type Parameters
Name | Description |
---|---|
TSender | The type of the sender that raised the event. This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics. |
TEventArgs | The type of the event data generated by the event. This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics. |
Properties
| Improve this Doc View SourceEventArgs
Gets the event data that was generated by the event.
Declaration
TEventArgs EventArgs { get; }
Property Value
Type | Description |
---|---|
TEventArgs |
Sender
Gets the sender object that raised the event.
Declaration
TSender Sender { get; }
Property Value
Type | Description |
---|---|
TSender |