Udostępnij za pośrednictwem


Powiadomienie<T>. Operator równości

Wskazuje, czy argumenty po lewej i prawej stronie są równe.

Przestrzeń nazw:System.Reaktywna
Zestawu: System.Reactive (w System.Reactive.dll)

Składnia

'Declaration
Public Shared Operator = ( _
    left As Notification(Of T), _
    right As Notification(Of T) _
) As Boolean
'Usage
Dim left As Notification(Of T)
Dim right As Notification(Of T)
Dim returnValue As Boolean

returnValue = (left = right)
public static bool operator ==(
    Notification<T> left,
    Notification<T> right
)
public:
static bool operator ==(
    Notification<T>^ left, 
    Notification<T>^ right
)
static let inline (=)
        left:Notification<'T> * 
        right:Notification<'T>  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parametry

Wartość zwracana

Typ: System.Boolean
true, jeśli oba argumenty są równe; w przeciwnym razie wartość false.

Zobacz też

Odwołanie

Notification T>,<klasa

Przestrzeń nazw System.Reactive