Recorded<T> Structure

Records a value with the time it was produced on.

Namespace:  Microsoft.Reactive.Testing
Assembly:  Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Structure Recorded(Of T) _
    Implements IEquatable(Of Recorded(Of T))
'Usage
Dim instance As Recorded(Of T)
[SerializableAttribute]
public struct Recorded<T> : IEquatable<Recorded<T>>
[SerializableAttribute]
generic<typename T>
public value class Recorded : IEquatable<Recorded<T>>
[<SealedAttribute>]
[<SerializableAttribute>]
type Recorded<'T> =  
    struct
        interface IEquatable<Recorded<'T>>
    end
JScript does not support generic types and methods.

Type Parameters

  • T
    The type.

The Recorded<T> type exposes the following members.

Constructors

  Name Description
Public method Recorded<T> Initializes a new instance of the Recorded<T> class with the specified value at the given virtual time.

Top

Properties

  Name Description
Public property Time Gets the virtual time the value was produced on.
Public property Value Gets the value.

Top

Methods

  Name Description
Public method Equals(Object) Checks whether the given object is equal to the current instance. (Overrides ValueType.Equals(Object).)
Public method Equals(Recorded<T>) Checks whether the given recorded object is equal to the current instance.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Computes a hash code for the current instance. (Overrides ValueType.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Gets a friendly string representation of the current instance. (Overrides ValueType.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality Checks whether the two given recorded objects are equal.
Public operatorStatic member Inequality Checks whether the two given recorded objects are not equal.

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