EventPattern class¶
Defined in
Namespace: System.Reactive
Assembly: System.Reactive.dll
Full name: System.Reactive.EventPattern<T1, T2>
Modifiers: public
Summary¶
Represents a .NET event invocation consisting of the strongly typed object that raised the event and the data that was generated by the event.
Applies to
netstandard2.0
Class hierarchy
classDiagram
class EventPattern~T1,T2~
class IEquatable~EventPattern~TSender, TEventArgs~~ {
<>
}
IEquatable~EventPattern~TSender, TEventArgs~~ <|.. EventPattern~T1,T2~
class IEventPattern~TSender, TEventArgs~ {
<>
}
IEventPattern~TSender, TEventArgs~ <|.. EventPattern~T1,T2~
Implements: IEquatable
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Creates a new data representation instance of a .NET event invocation with the given sender and event data. |
Properties¶
| Name | Summary |
|---|---|
| Sender | Gets the sender object that raised the event. |
| EventArgs | Gets the event data that was generated by the event. |
Methods¶
| Name | Summary |
|---|---|
| Deconstruct | Deconstructs the event pattern value into a sender and event data. |
| Equals | Determines whether the current [EventPattern](# object represents the same event as a specified [EventPattern](# object. |
| GetHashCode | Returns the hash code for the current [EventPattern](# instance. |
Operators¶
| Name | Summary |
|---|---|
| static op_Equality | Determines whether two specified [EventPattern](# objects represent the same event. |
| static op_Inequality | Determines whether two specified [EventPattern](# objects represent a different event. |