Targeting System 2.0.0
Plugin for multipurpose targeting and visual effects.
|
Represents a value associated with time interval information. The time interval can represent the time it took to produce the value, the interval relative to a previous value, the value's delivery time relative to a base, etc. More...
Public Member Functions | |
TimeInterval (T value, TimeSpan interval) | |
Constructs a time interval value. More... | |
bool | Equals (TimeInterval< T > other) |
Determines whether the current TimeInterval<T> value has the same Value and Interval as a specified TimeInterval<T> value. More... | |
override bool | Equals (object obj) |
Determines whether the specified System.Object is equal to the current TimeInterval<T>. More... | |
override int | GetHashCode () |
Returns the hash code for the current TimeInterval<T> value. More... | |
override string | ToString () |
Returns a string representation of the current TimeInterval<T> value. More... | |
Static Public Member Functions | |
static bool | operator== (TimeInterval< T > first, TimeInterval< T > second) |
Determines whether the two specified TimeInterval<T> values have the same Value and Interval. More... | |
static bool | operator!= (TimeInterval< T > first, TimeInterval< T > second) |
Determines whether the two specified TimeInterval<T> values don't have the same Value and Interval. More... | |
Properties | |
T | Value [get] |
Gets the value. | |
TimeSpan | Interval [get] |
Gets the interval. | |
Represents a value associated with time interval information. The time interval can represent the time it took to produce the value, the interval relative to a previous value, the value's delivery time relative to a base, etc.
T | The type of the value being annotated with time interval information. |
UniRx.TimeInterval< T >.TimeInterval | ( | T | value, |
TimeSpan | interval | ||
) |
Constructs a time interval value.
value | The value to be annotated with a time interval. |
interval | Time interval associated with the value. |
override bool UniRx.TimeInterval< T >.Equals | ( | object | obj | ) |
Determines whether the specified System.Object is equal to the current TimeInterval<T>.
obj | The System.Object to compare with the current TimeInterval<T>. |
bool UniRx.TimeInterval< T >.Equals | ( | TimeInterval< T > | other | ) |
Determines whether the current TimeInterval<T> value has the same Value and Interval as a specified TimeInterval<T> value.
other | An object to compare to the current TimeInterval<T> value. |
override int UniRx.TimeInterval< T >.GetHashCode | ( | ) |
Returns the hash code for the current TimeInterval<T> value.
|
static |
Determines whether the two specified TimeInterval<T> values don't have the same Value and Interval.
first | The first TimeInterval<T> value to compare. |
second | The second TimeInterval<T> value to compare. |
|
static |
Determines whether the two specified TimeInterval<T> values have the same Value and Interval.
first | The first TimeInterval<T> value to compare. |
second | The second TimeInterval<T> value to compare. |
override string UniRx.TimeInterval< T >.ToString | ( | ) |
Returns a string representation of the current TimeInterval<T> value.