Timeinterval(T)

TimeInterval<T> Structure

Represents a time interval value.

Namespace:  System.Reactive
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

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

Type Parameters

  • T
    The time interval argument type.

The TimeInterval<T> type exposes the following members.

Constructors

NameDescriptionPublic methodTimeIntervalConstructs a timestamped value.Top

Properties

NameDescriptionPublic propertyIntervalGets the interval.Public propertyValueGets the value.Top

Methods

NameDescriptionPublic methodEqualsIndicates whether this instance and a specified object are equal. (Overrides ValueType.Equals(Object).)Protected methodFinalize(Inherited from Object.)Public methodGetHashCodeReturns the hash code for this instance. (Overrides ValueType.GetHashCode().)Public methodGetType(Inherited from Object.)Protected methodMemberwiseClone(Inherited from Object.)Public methodToStringReturns a string representation of this instance. (Overrides ValueType.ToString().)Top

Operators

NameDescriptionPublic operatorStatic memberEqualityIndicates whether first and second arguments are equal.Public operatorStatic memberInequalityIndicates whether first and second arguments 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

System.Reactive Namespace

TimeInterval<T> Properties

Include Protected Members
Include Inherited Members

The TimeInterval<T> type exposes the following members.

Properties

NameDescriptionPublic propertyIntervalGets the interval.Public propertyValueGets the value.Top

See Also

Reference

TimeInterval<T> Structure

System.Reactive Namespace

TimeInterval<T> Constructor

Constructs a timestamped value.

Namespace:  System.Reactive
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
Public Sub New ( _
    value As T, _
    interval As TimeSpan _
)
'Usage
Dim value As T
Dim interval As TimeSpan

Dim instance As New TimeInterval(value, interval)
public TimeInterval(
    T value,
    TimeSpan interval
)
public:
TimeInterval(
    T value, 
    TimeSpan interval
)
new : 
        value:'T * 
        interval:TimeSpan -> TimeInterval
public function TimeInterval(
    value : T, 
    interval : TimeSpan
)

Parameters

See Also

Reference

TimeInterval<T> Structure

System.Reactive Namespace

TimeInterval<T> Methods

Include Protected Members
Include Inherited Members

The TimeInterval<T> type exposes the following members.

Methods

NameDescriptionPublic methodEqualsIndicates whether this instance and a specified object are equal. (Overrides ValueType.Equals(Object).)Protected methodFinalize(Inherited from Object.)Public methodGetHashCodeReturns the hash code for this instance. (Overrides ValueType.GetHashCode().)Public methodGetType(Inherited from Object.)Protected methodMemberwiseClone(Inherited from Object.)Public methodToStringReturns a string representation of this instance. (Overrides ValueType.ToString().)Top

See Also

Reference

TimeInterval<T> Structure

System.Reactive Namespace

TimeInterval<T> Operators

Include Protected Members
Include Inherited Members

The TimeInterval<T> type exposes the following members.

Operators

NameDescriptionPublic operatorStatic memberEqualityIndicates whether first and second arguments are equal.Public operatorStatic memberInequalityIndicates whether first and second arguments are not equal.Top

See Also

Reference

TimeInterval<T> Structure

System.Reactive Namespace