You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Cureos.Measures library automatically identifies its own quantities and units through reflection.
The collection of defined quantities and its associated units can be accessed via the static class QuantityCollection.
QuantityCollection holds one member, the property getter
IEnumerable<QuantityAdapter> Quantities { get; }
The QuantityAdapter is simply a wrapper of one quantity and the collection of physical units associated with the quantity:
class QuantityAdapter
{
IQuantity Quantity { get; }
IEnumerable<IUnit> Units { get; }
}