Interface IAmount<TValue>
A typed monetary or physical quantity. TValue is the
underlying representation (e.g. a tuple of whole and fractional parts for
fixed-point DecimalAmount).
public interface IAmount<TValue> : IEquatable<IAmount<TValue>>, IComparable<IAmount<TValue>> where TValue : notnull
Type Parameters
TValueUnderlying storage type.
- Inherited Members
Methods
GetValue()
Retrieve the underlying value.
TValue GetValue()
Returns
- TValue