SIPrefix Class |
public class SIPrefix : IUnit, IEquatable<SIPrefix>, IComparable<SIPrefix>
The SIPrefix type exposes the following members.
| Name | Description | |
|---|---|---|
| SIPrefix | Deserialization constructor. Initializes a new instance of the SIPrefix class. Do not use this constructor unless you don't find the prefix in the list of known prefixes. |
| Name | Description | |
|---|---|---|
| Atto | ||
| CanApplySIPrefix | ||
| Centi | ||
| Deca | ||
| Deci | ||
| Exa | ||
| Exponent | ||
| Femto | ||
| Giga | ||
| Hecto | ||
| Kilo | ||
| LargestPrefix | ||
| LisOfPrefixesWithMultipleOf3Exponent | Returns a list with prefixes, for which the exponent is a multiple of 3, including the prefix None. | |
| ListWithAllKnownPrefixes | Returns a list with all known prefixes, including the prefix None. | |
| ListWithNonePrefixOnly | Returns a list that contains only the prefix None. | |
| MaxShortCutLength | Gets the maximum length of the shortcuts of any of the known prefixes. | |
| Mega | ||
| Micro | ||
| Milli | ||
| MinShortCutLength | Gets the minimum length of the shortcuts of any of the known prefixes. | |
| Name | ||
| Nano | ||
| None | ||
| Peta | ||
| Pico | ||
| Quecto | ||
| Quetta | ||
| Ronna | ||
| Ronto | ||
| ShortCut | ||
| SmallestPrefix | ||
| Tera | ||
| Yocto | ||
| Yotta | ||
| Zepto | ||
| Zetta |
| Name | Description | |
|---|---|---|
| CompareTo | ||
| Equals(Object) | (Overrides ObjectEquals(Object)) | |
| Equals(SIPrefix) | ||
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| FromDivision | ||
| FromMultiplication | ||
| FromSIUnit | ||
| GetHashCode | (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) | |
| ToSIUnit | ||
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TryGetPrefixFromExponent | Try to get a known prefix with a given exponent. | |
| TryGetPrefixFromShortcut | Try the get a prefix given the prefix'es shortcut. |
| Name | Description | |
|---|---|---|
| Multiply(SIPrefix, SIPrefix) | Multiplies two prefixes. If the result is not a known prefix, an InvalidOperationException is thrown. Consider using FromMultiplication(SIPrefix, SIPrefix) instead. |