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
dataValueIDataValueThe data value.
timestampDateTimeOffsetOn return, the timestamp of the
dataValueor any of its inner values, if one implements ITimestampedDataValue; otherwise, the default DateTimeOffset value.
Returns
Exceptions
- ArgumentNullException
dataValueis null.