检查给定的订阅是否等于当前实例。
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
参数
- 其他
类型: Microsoft.Reactive.Testing.Subscription
要检查相等的订阅对象。
返回值
类型: System.Boolean
如果两个对象相等,则为 true;否则为 false。