Unit.Equality, operator
Wskazuje, czy pierwsze i drugie argumenty są równe.
Przestrzeń nazw:System.Reaktywna
Zestawu: System.Reaktywny (w System.Reactive.dll)
Składnia
'Declaration
Public Shared Operator = ( _
first As Unit, _
second As Unit _
) As Boolean
'Usage
Dim first As Unit
Dim second As Unit
Dim returnValue As Boolean
returnValue = (first = second)
public static bool operator ==(
Unit first,
Unit second
)
public:
static bool operator ==(
Unit first,
Unit second
)
static let inline (=)
first:Unit *
second:Unit : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.
Parametry
- Pierwszym
Typ: System.Reactive.Unit
Pierwsza lekcja do porównania lub null.
- sekunda
Typ: System.Reactive.Unit
Druga lekcja do porównania lub null.
Wartość zwracana
Typ: System.Boolean
Zawsze zwraca wartość true.