Class Timestamped
Provides static methods for creating timestamped payload objects.
public static class Timestamped
- Inheritance
-
Timestamped
- Inherited Members
Methods
Create<T>(T, double)
Creates a new timestamped payload value.
public static Timestamped<T> Create<T>(T value, double seconds)
Parameters
value
TThe value of the timestamped payload.
seconds
doubleThe timestamp of the payload, in fractional seconds.
Returns
- Timestamped<T>
A new instance of the Timestamped<T> class with the specified payload value and timestamp.
Type Parameters
T
The type of the value in the timestamped payload.