Interface IUnit
- Namespace
- Cuemon
- Assembly
- Cuemon.Core.dll
Defines a unit of measurement that is used as a standard for measurement of the same kind of quantity. Implements the System.IEquatable<T>
public interface IUnit : IEquatable<IUnit>
- Inherited Members
-
IEquatable<IUnit>.Equals(IUnit)
Properties
UnitName
Gets the name of the base unit.
string UnitName { get; }
Property Value
- String
The name of the base unit.
UnitSymbol
Gets the symbol of the base unit.
string UnitSymbol { get; }
Property Value
- String
The symbol of the base unit.
UnitValue
Gets the base value of the unit.
double UnitValue { get; }
Property Value
- Double
The base value of the unit.
Methods
ToString(Action<UnitFormatOptions>)
Returns a System.String that represents this instance.
string ToString(Action<UnitFormatOptions> setup)
Parameters
setup
Action<UnitFormatOptions>The UnitFormatOptions which need to be configured.
Returns
- String
A System.String that represents this instance.
See Also
IEquatable<T>