EventPattern<TSender, TEventArgs>
public class EventPattern<TSender, TEventArgs> : IEquatable<EventPattern<TSender, TEventArgs>>, 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.
Gets the event data that was generated by the event.
Gets the sender object that raised the event.
Creates a new data representation instance of a .NET event invocation with the given sender and event data.
public static bool op_Equality(EventPattern<TSender, TEventArgs> first, EventPattern<TSender, TEventArgs> second)
Determines whether two specified EventPattern<T, U> objects represent the same event.
public static bool op_Inequality(EventPattern<TSender, TEventArgs> first, EventPattern<TSender, TEventArgs> second)
Determines whether two specified EventPattern<T, U> objects represent a different event.
Determines whether the current EventPattern<T, U> object represents the same event as a specified EventPattern<T, U> object.