检查两个给定记录的对象是否相等。
Namespace:Microsoft.Reactive.Testing
装配: Microsoft.Reactive.Testing.dll) 中的 Microsoft.Reactive.Testing (
语法
'Declaration
Public Shared Operator = ( _
left As Recorded(Of T), _
right As Recorded(Of T) _
) As Boolean
'Usage
Dim left As Recorded(Of T)
Dim right As Recorded(Of T)
Dim returnValue As Boolean
returnValue = (left = right)
public static bool operator ==(
Recorded<T> left,
Recorded<T> right
)
public:
static bool operator ==(
Recorded<T> left,
Recorded<T> right
)
static let inline (=)
left:Recorded<'T> *
right:Recorded<'T> : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.
参数
- 左侧
类型: Microsoft.Reactive.Testing.Recorded<T>
要检查相等的第一个对象。
- 右
类型: Microsoft.Reactive.Testing.Recorded<T>
要检查相等的第二个对象。
返回值
类型: System.Boolean
如果两个对象相等,则为 True;否则为 false。