Export (0) Print
Expand All

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)

JScript suports the use of structures, but not the declaration of new ones.

The Subscription type exposes the following members.

  NameDescription
Public 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

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

  NameDescription
Public 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

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

  NameDescription
Public fieldStatic memberInfiniteSpecifies the infinite virtual time value.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft