PrefixTable Class
Definition
Represents a table of unit prefixes, indicating multiples or submultiples of a base unit.
public abstract class PrefixTable : IEquatable<IUnit>, IEnumerable<IPrefixUnit>, IEnumerable
- Inheritance
-
PrefixTable
- Implements
- Derived
- Extension Methods
Constructors
| Name | Description |
|---|---|
| PrefixTable(IUnit) | Initializes a new instance of the PrefixTable class. |
Properties
| Name | Description |
|---|---|
| BaseUnit | Gets the base unit of this table. |
Methods
| Name | Description |
|---|---|
| Equals(IUnit) | Indicates whether the current object is equal to another object of the same type. |
| Equals(object) | Determines whether the specified Object is equal to this instance. |
| GetEnumerator() | Returns an enumerator that iterates through the multiples and/or submultiples of the base unit. |
| GetHashCode() | Returns a hash code for this instance. |
| ToString() | Returns a string that represents largest metric-multiple prefix of this instance. |
Operators
| Name | Description |
|---|---|
| implicit operator double(PrefixTable) | Performs an implicit conversion from PrefixTable to double. |
See Also
IEquatable<T>
IEnumerable<T>