Changeable |
public class ChangeableRelativeUnit : IRelativeUnit, IUnit
The ChangeableRelativeUnit type exposes the following members.
Name | Description | |
---|---|---|
![]() | ChangeableRelativeUnit | Initializes a new instance of the ChangeableRelativeUnit class. |
Name | Description | |
---|---|---|
![]() | Name | Full name of the unit. |
![]() | Prefixes | Returns a list of possible prefixes for this unit (like µ, m, k, M, G..). |
![]() | ReferenceQuantity | The corresponding quantity that this unit encapsulates. |
![]() | ShortCut | Usual shortcut of the unit. |
![]() | SIUnit | Returns the corresponding SI unit. |
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from 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) |
![]() | FromSIUnit | Converts x (in SI units) to the corresponding value in this unit. |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetRelativeValueFromValue | Calculated the dimensionless prefactor to multiply the ReferenceQuantity with. Example: Given that the relative unit is 'percent of page with', a value of x=5 is converted to 0.05. The result can then be used to calculate the absolute quantity by multiplying the result of 0.05 with the 'page with'. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() | ToSIUnit | Converts x to the corresponding SI unit. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |