Click or drag to resize

Gram Class

Represents the gram unit of mass.
Inheritance Hierarchy
SystemObject
  Altaxo.UnitsUnitBase
    Altaxo.Units.MassGram

Namespace: Altaxo.Units.Mass
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class Gram : UnitBase, IUnit

The Gram type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberInstance Gets the singleton instance of the Gram unit.
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.
Top
Methods
 NameDescription
Public methodEquals(IUnit) Determines whether the specified IUnit is equal to this unit by comparing their runtime types.
(Inherited from UnitBase)
Public methodEquals(Object)Determines whether the specified object is equal to the current object.
(Inherited from UnitBase)
Public methodEquals(SIUnit) Determines whether the specified SIUnit is equal to this unit.
(Inherited from UnitBase)
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 UnitBase)
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