[SerializableAttribute]
public abstract class Unit
Unit | Initializes a new instance of the Unit class |
AppliesTo | Gets the Type of measurement that this Unit applies to. |
BaseFormat | Gets the default format for displaying quantities of the unit. |
Conversions | Provides the list of conversion factors for this Unit to the ConversionCache. |
Dimensions | Gets the number of dimensions this Unit represents. |
Name | Gets the name of the Unit. |
NamePlural | Gets the name of the Unit when it represents any quantity other than 1. |
Symbol | Gets the symbol or abbreviation of the Unit. |
CreateConversionList | When implemented in derived classes, causes the Unit to assemble its list of conversion factors to other units. |
Equals |
Determines whether the specified Object is equal to the
current Unit.
(Overrides ObjectEquals(Object)) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode |
Serves as a hash function for a particular type,
suitable for use in hashing algorithms and data structures
like a hash table.
(Overrides ObjectGetHashCode) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString |
Gets the String representation of this Unit.
(Overrides ObjectToString) |