Skip to content

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>, IEventPattern

Constructors

NameSummary
.ctorCreates a new data representation instance of a .NET event invocation with the given sender and event data.

Properties

NameSummary
SenderGets the sender object that raised the event.
EventArgsGets the event data that was generated by the event.

Methods

NameSummary
DeconstructDeconstructs the event pattern value into a sender and event data.
EqualsDetermines whether the current [EventPattern](# object represents the same event as a specified [EventPattern](# object.
GetHashCodeReturns the hash code for the current [EventPattern](# instance.

Operators

NameSummary
static op_EqualityDetermines whether two specified [EventPattern](# objects represent the same event.
static op_InequalityDetermines whether two specified [EventPattern](# objects represent a different event.
Inherited members