Subscription Methods
Include Protected Members
Include Inherited Members
The Subscription type exposes the following members.
Methods
NameDescriptionEquals(Object)Checks whether the given object is equal to the current instance. (Overrides ValueType.Equals(Object).)
Equals(Subscription)Checks whether the given subscription is equal to the current instance.
Finalize(Inherited from Object.)
GetHashCodeComputes a hash code for the current instance. (Overrides ValueType.GetHashCode().)
GetType(Inherited from Object.)
MemberwiseClone(Inherited from Object.)
ToStringReturns a friendly string representation of the current instance. (Overrides ValueType.ToString().)Top
See Also
Reference
Microsoft.Reactive.Testing Namespace
Subscription Structure
Records the information about subscripts to and unsubscriptions from observable sequences.
Namespace: Microsoft.Reactive.Testing
Assembly: Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Structure Subscription _
Implements IEquatable(Of Subscription)
'Usage
Dim instance As Subscription
[SerializableAttribute]
public struct Subscription : IEquatable<Subscription>
[SerializableAttribute]
public value class Subscription : IEquatable<Subscription>
[<SealedAttribute>]
[<SerializableAttribute>]
type Subscription =
struct
interface IEquatable<Subscription>
end
JScript suports the use of structures, but not the declaration of new ones.
The Subscription type exposes the following members.
Constructors
NameDescriptionSubscription(Int64)Initializes a new instance of the Subscription class with the specified virtual time the subscription occurred.
Subscription(Int64, Int64)Initializes a new instance of the Subscription class with the specified virtual time the subscription and unsubscription occurred.Top
Properties
NameDescriptionSubscribeGets the subscription virtual time.
UnsubscribeGets the unsubscription virtual time.Top
Methods
NameDescriptionEquals(Object)Checks whether the given object is equal to the current instance. (Overrides ValueType.Equals(Object).)
Equals(Subscription)Checks whether the given subscription is equal to the current instance.
Finalize(Inherited from Object.)
GetHashCodeComputes a hash code for the current instance. (Overrides ValueType.GetHashCode().)
GetType(Inherited from Object.)
MemberwiseClone(Inherited from Object.)
ToStringReturns a friendly string representation of the current instance. (Overrides ValueType.ToString().)Top
Operators
NameDescriptionEqualityChecks whether the two given subscription objects are equal.
InequalityChecks whether the two given subscription objects are not equal.Top
Fields
NameDescriptionInfiniteSpecifies the infinite virtual time value.Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Reactive.Testing Namespace
Subscription Operators
Include Protected Members
Include Inherited Members
The Subscription type exposes the following members.
Operators
NameDescriptionEqualityChecks whether the two given subscription objects are equal.
InequalityChecks whether the two given subscription objects are not equal.Top
See Also
Reference
Microsoft.Reactive.Testing Namespace
Subscription Constructor (Int64, Int64)
Initializes a new instance of the Subscription class with the specified virtual time the subscription and unsubscription occurred.
Namespace: Microsoft.Reactive.Testing
Assembly: Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)
Syntax
'Declaration
Public Sub New ( _
subscribe As Long, _
unsubscribe As Long _
)
'Usage
Dim subscribe As Long
Dim unsubscribe As Long
Dim instance As New Subscription(subscribe, _
unsubscribe)
public Subscription(
long subscribe,
long unsubscribe
)
public:
Subscription(
long long subscribe,
long long unsubscribe
)
new :
subscribe:int64 *
unsubscribe:int64 -> Subscription
public function Subscription(
subscribe : long,
unsubscribe : long
)
Parameters
subscribe
Type: System.Int64
The virtual time at which the subscription occurred.unsubscribe
Type: System.Int64
The virtual time at which the unsubscription occurred.
See Also
Reference
Microsoft.Reactive.Testing Namespace
Subscription Constructor
Include Protected Members
Include Inherited Members
Initializes a new instance of the Subscription class with the default values.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
NameDescriptionSubscription(Int64)Initializes a new instance of the Subscription class with the specified virtual time the subscription occurred.
Subscription(Int64, Int64)Initializes a new instance of the Subscription class with the specified virtual time the subscription and unsubscription occurred.Top
See Also
Reference
Microsoft.Reactive.Testing Namespace
Subscription Properties
Include Protected Members
Include Inherited Members
The Subscription type exposes the following members.
Properties
NameDescriptionSubscribeGets the subscription virtual time.
UnsubscribeGets the unsubscription virtual time.Top
See Also
Reference
Microsoft.Reactive.Testing Namespace
Subscription Fields
Include Protected Members
Include Inherited Members
The Subscription type exposes the following members.
Fields
NameDescriptionInfiniteSpecifies the infinite virtual time value.Top
See Also
Reference
Microsoft.Reactive.Testing Namespace
Subscription Constructor (Int64)
Initializes a new instance of the Subscription class with the specified virtual time the subscription occurred.
Namespace: Microsoft.Reactive.Testing
Assembly: Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)
Syntax
'Declaration
Public Sub New ( _
subscribe As Long _
)
'Usage
Dim subscribe As Long
Dim instance As New Subscription(subscribe)
public Subscription(
long subscribe
)
public:
Subscription(
long long subscribe
)
new :
subscribe:int64 -> Subscription
public function Subscription(
subscribe : long
)
Parameters
- subscribe
Type: System.Int64
The virtual time at which the subscription occurred.