Compound |
[JsonObjectAttribute(ItemTypeNameHandling = TypeNameHandling.Auto)] public abstract class CompoundUnit : Unit, IEquatable<CompoundUnit>
The CompoundUnit type exposes the following members.
Name | Description | |
---|---|---|
CompoundUnit | Initializes a new instance of the CompoundUnit class |
Name | Description | |
---|---|---|
AppliesTo |
Gets the Type of measurement that this Unit
applies to.
(Inherited from Unit) | |
BaseFormat |
Gets the default format for displaying quantities of the unit.
(Inherited from Unit) | |
Conversions |
Provides the list of conversion factors for this Unit
to the ConversionCache.
(Inherited from Unit) | |
Dimensions |
Gets the number of dimensions this Unit represents.
(Inherited from Unit) | |
FirstUnit | Gets the first Unit of the CompoundUnit. | |
FirstUnitAppliesTo | Gets the Type of Unit that is a legal value for FirstUnit. | |
Name |
Gets the name of the Unit.
(Inherited from Unit) | |
NamePlural |
Gets the name of the Unit when it represents
any quantity other than 1.
(Inherited from Unit) | |
SecondUnit | Gets the second Unit of the CompoundUnit. | |
SecondUnitAppliesTo | Gets the Type of Unit that is a legal value for SecondUnit. | |
Symbol |
Gets the symbol or abbreviation of the Unit.
(Inherited from Unit) |
Name | Description | |
---|---|---|
CreateConversionList |
When implemented in derived classes, causes the Unit to assemble
its list of conversion factors to other units.
(Inherited from Unit) | |
Equals(CompoundUnit) | Indicates whether the current object is equal to another object of the same type. | |
Equals(Object) |
Determines whether the specified Object is equal to the
current CompoundUnit.
(Overrides UnitEquals(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 UnitGetHashCode) | |
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 CompoundUnit.
(Overrides UnitToString) |