Click or drag to resize

UnitWithLimitedPrefixes Class

Encapsulates an existing unit, but limits the set of possible prefixes.
Inheritance Hierarchy
SystemObject
  Altaxo.UnitsUnitWithLimitedPrefixes

Namespace: Altaxo.Units
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public class UnitWithLimitedPrefixes : IUnit

The UnitWithLimitedPrefixes type exposes the following members.

Constructors
 NameDescription
Public methodUnitWithLimitedPrefixes Initializes a new instance of the UnitWithLimitedPrefixes class that wraps an existing unit and restricts its allowed SI prefixes to the provided set.
Top
Properties
 NameDescription
Public propertyNameFull name of the unit.
Public propertyPrefixes Returns a list of possible prefixes for this unit (like µ, m, k, M, G..).
Public propertyShortCutUsual shortcut of the unit.
Public propertySIUnit Returns the corresponding SI unit.
Public propertyUnit Gets the underlying unit that is wrapped by this instance.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFromSIUnit Converts x (in SI units) to the corresponding value in this unit.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToSIUnit Converts x to the corresponding SI unit.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also