Table of Contents

Interface IAmount<TValue>

Namespace
Virtufin.Core.Position
Assembly
Virtufin.Core.dll

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

TValue

Underlying storage type.

Inherited Members

Methods

GetValue()

Retrieve the underlying value.

TValue GetValue()

Returns

TValue