Click or drag to resize

Unity Class

[Missing <summary> documentation for "T:Altaxo.Units.Dimensionless.Unity"]

Inheritance Hierarchy
SystemObject
  Altaxo.UnitsSIUnit
    Altaxo.Units.DimensionlessUnity

Namespace: Altaxo.Units.Dimensionless
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class Unity : SIUnit

The Unity type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberInstance 
Public propertyName
(Overrides SIUnitName)
Public propertyPrefixes
(Overrides SIUnitPrefixes)
Public propertyShortCut
(Overrides SIUnitShortCut)
Top
Methods
 NameDescription
Public methodEquals(IUnit)Compares this unit with another unit obj and returns true if both are equal. To be equal, the other unit has to be (i) a SI unit, and (ii) the same name. Thus, J (Joule) and Nm (Newtonmeter) are not considered equal.
(Inherited from SIUnit)
Public methodEquals(Object)Determines whether the specified Object is equal to this instance.
(Inherited from SIUnit)
Public methodEquals(SIUnit)Compares this unit with another unit other and returns true when both are equal. Two SI units are considered equal if the exponents are equal, independently of the unit name. This means e.g. that J (Joule), Nm, and Ws are considered equal. If you want to compare the name too, use Equals(IUnit)
(Inherited from SIUnit)
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 methodFromSIUnitConverts x (in SI units) to the corresponding value in this unit.
(Inherited from SIUnit)
Public methodGetHashCodeReturns a hash code for this instance.
(Inherited from SIUnit)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsCompatibleTo
(Inherited from SIUnit)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToSIUnitConverts x to the corresponding SI unit.
(Inherited from SIUnit)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also