Class TimestampedDataValueExtensions
Timestamp extension methods for IDataValue.
public static class TimestampedDataValueExtensions
- Inheritance
-
TimestampedDataValueExtensions
- Inherited Members
Methods
TryGetTimestamp(IDataValue, out DateTimeOffset)
Tries to gets the timestamp of a data value.
public static bool TryGetTimestamp(this IDataValue dataValue, out DateTimeOffset timestamp)
Parameters
dataValue
IDataValueThe data value.
timestamp
DateTimeOffsetOn return, the timestamp of the
dataValue
or any of its inner values, if one implements ITimestampedDataValue; otherwise, the default DateTimeOffset value.
Returns
Exceptions
- ArgumentNullException
dataValue
is null.