Class DurationValue
- Namespace
- CedarDotNet.Values
- Assembly
- CedarDotNet.dll
The Cedar value that represents a duration.
public sealed record DurationValue : Value, IEquatable<Value>, IEquatable<DurationValue>
- Inheritance
-
DurationValue
- Implements
- Inherited Members
Constructors
DurationValue(TimeSpan)
Creates a new DurationValue.
public DurationValue(TimeSpan value)
Parameters
value
TimeSpanThe value.
Properties
Value
The value.
public TimeSpan Value { get; }