Subscription.Equals 方法 (订阅)

检查给定的订阅是否等于当前实例。

Namespace:Microsoft.Reactive.Testing
装配: Microsoft.Reactive.Testing.dll) 中的 Microsoft.Reactive.Testing (

语法

'Declaration
Public Function Equals ( _
    other As Subscription _
) As Boolean
'Usage
Dim instance As Subscription
Dim other As Subscription
Dim returnValue As Boolean

returnValue = instance.Equals(other)
public bool Equals(
    Subscription other
)
public:
virtual bool Equals(
    Subscription other
) sealed
abstract Equals : 
        other:Subscription -> bool 
override Equals : 
        other:Subscription -> bool 
public final function Equals(
    other : Subscription
) : boolean

参数

返回值

类型: System.Boolean
如果两个对象相等,则为 true;否则为 false。

实现

IEquatable<T>.等于 T) (

另请参阅

参考

订阅结构

等于重载

Microsoft.Reactive.Testing 命名空间