Click or drag to resize

UnitBase Class

Base class for classes that implement IUnit and are not a SIUnit. Classes that are SI units should derive from SIUnit.
Inheritance Hierarchy
SystemObject
  Altaxo.UnitsUnitBase
    More

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

The UnitBase type exposes the following members.

Constructors
 NameDescription
Protected methodUnitBaseInitializes a new instance of the UnitBase class
Top
Methods
 NameDescription
Public methodEquals(IUnit) Determines whether the specified IUnit is equal to this unit by comparing their runtime types.
Public methodEquals(Object)Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
Public methodEquals(SIUnit) Determines whether the specified SIUnit is equal to this unit.
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 methodGetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(UnitBase, IUnit) Determines whether two units are equal using the Equals(IUnit) implementation.
Public operatorStatic memberInequality(UnitBase, IUnit) Determines whether two units are not equal using the Equals(IUnit) implementation.
Top
See Also
Inheritance Hierarchy