The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

EventPattern<TEventArgs>.Equality Operator

EventPattern<TEventArgs>.Equality Operator

Compare two objects to see if they are identical.

Namespace:  System.Reactive
Assembly:  System.Reactive (in System.Reactive.dll)


Public Shared Operator = ( _
    first As EventPattern(Of TEventArgs), _
    second As EventPattern(Of TEventArgs) _
) As Boolean
Dim first As EventPattern(Of TEventArgs)
Dim second As EventPattern(Of TEventArgs)
Dim returnValue As Boolean

returnValue = (first = second)
public static bool operator ==(
    EventPattern<TEventArgs> first,
    EventPattern<TEventArgs> second
static bool operator ==(
    EventPattern<TEventArgs>^ first, 
    EventPattern<TEventArgs>^ second
static let inline (=)
        first:EventPattern<'TEventArgs> * 
        second:EventPattern<'TEventArgs>  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.


Return Value

Type: System.Boolean
Returns Boolean.

See Also


EventPattern<TEventArgs> Class

System.Reactive Namespace