Subscription

Subscription Methods

Include Protected Members
Include Inherited Members

The Subscription type exposes the following members.

Methods

NameDescriptionPublic methodEquals(Object)Checks whether the given object is equal to the current instance. (Overrides ValueType.Equals(Object).)Public methodEquals(Subscription)Checks whether the given subscription is equal to the current instance.Protected methodFinalize(Inherited from Object.)Public methodGetHashCodeComputes a hash code for the current instance. (Overrides ValueType.GetHashCode().)Public methodGetType(Inherited from Object.)Protected methodMemberwiseClone(Inherited from Object.)Public methodToStringReturns a friendly string representation of the current instance. (Overrides ValueType.ToString().)Top

See Also

Reference

Subscription Structure

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

NameDescriptionPublic methodSubscription(Int64)Initializes a new instance of the Subscription class with the specified virtual time the subscription occurred.Public methodSubscription(Int64, Int64)Initializes a new instance of the Subscription class with the specified virtual time the subscription and unsubscription occurred.Top

Properties

NameDescriptionPublic propertySubscribeGets the subscription virtual time.Public propertyUnsubscribeGets the unsubscription virtual time.Top

Methods

NameDescriptionPublic methodEquals(Object)Checks whether the given object is equal to the current instance. (Overrides ValueType.Equals(Object).)Public methodEquals(Subscription)Checks whether the given subscription is equal to the current instance.Protected methodFinalize(Inherited from Object.)Public methodGetHashCodeComputes a hash code for the current instance. (Overrides ValueType.GetHashCode().)Public methodGetType(Inherited from Object.)Protected methodMemberwiseClone(Inherited from Object.)Public methodToStringReturns a friendly string representation of the current instance. (Overrides ValueType.ToString().)Top

Operators

NameDescriptionPublic operatorStatic memberEqualityChecks whether the two given subscription objects are equal.Public operatorStatic memberInequalityChecks whether the two given subscription objects are not equal.Top

Fields

NameDescriptionPublic fieldStatic memberInfiniteSpecifies 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

NameDescriptionPublic operatorStatic memberEqualityChecks whether the two given subscription objects are equal.Public operatorStatic memberInequalityChecks whether the two given subscription objects are not equal.Top

See Also

Reference

Subscription Structure

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

Subscription Structure

Subscription Overload

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

NameDescriptionPublic methodSubscription(Int64)Initializes a new instance of the Subscription class with the specified virtual time the subscription occurred.Public methodSubscription(Int64, Int64)Initializes a new instance of the Subscription class with the specified virtual time the subscription and unsubscription occurred.Top

See Also

Reference

Subscription Structure

Microsoft.Reactive.Testing Namespace

Subscription Properties

Include Protected Members
Include Inherited Members

The Subscription type exposes the following members.

Properties

NameDescriptionPublic propertySubscribeGets the subscription virtual time.Public propertyUnsubscribeGets the unsubscription virtual time.Top

See Also

Reference

Subscription Structure

Microsoft.Reactive.Testing Namespace

Subscription Fields

Include Protected Members
Include Inherited Members

The Subscription type exposes the following members.

Fields

NameDescriptionPublic fieldStatic memberInfiniteSpecifies the infinite virtual time value.Top

See Also

Reference

Subscription Structure

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.

See Also

Reference

Subscription Structure

Subscription Overload

Microsoft.Reactive.Testing Namespace