指示左参数和右参数是否相等。
Namespace:System.Reactive
装配: System.Reactive.dll) 中的 System.Reactive (
语法
'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.
parameters
- 左侧
类型: System.Reactive.Notification<T>
左参数。
- 右
类型: System.Reactive.Notification<T>
正确的参数。
返回值
类型: System.Boolean
如果两个参数相等,则为 true;否则为 false。