Click or drag to resize

UnitDescriptor Class

[Missing <summary> documentation for "T:Demo3D.Utilities.UnitDescriptor"]

Inheritance Hierarchy
SystemObject
  Demo3D.UtilitiesUnitDescriptor

Namespace:  Demo3D.Utilities
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 18.03.00
Syntax
C#
public class UnitDescriptor

The UnitDescriptor type exposes the following members.

Constructors
  NameDescription
Public methodUnitDescriptor(String, UnitType, String, IUnitConverter)
Initializes a new instance of the UnitDescriptor class with an IUnitConvertor for conversion.
Public methodUnitDescriptor(String, UnitType, String, Double)
Initializes a new instance of the UnitDescriptor class with a multiplier for conversion.
Public methodUnitDescriptor(String, UnitType, String, IUnitConverter, UnitSystem)
Initializes a new instance of the UnitDescriptor class with an IUnitConvertor for conversion and a specific unit system.
Public methodUnitDescriptor(String, UnitType, String, Double, UnitSystem)
Initializes a new instance of the UnitDescriptor class with a multiplier for conversion and a specific unit system.
Top
Properties
  NameDescription
Public propertyGlobalizedName
Gets an internationalized version of the name of this unit.
Public propertySystem
Gets the unit system to which this unit belongs.
Top
Methods
  NameDescription
Public methodEquals (Overrides ObjectEquals(Object).)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodToInternal
Convert value from units (eg inches) to internal value (eg metres)
Public methodToString (Overrides ObjectToString.)
Public methodToString(Double, Boolean)
Public methodToStringWithSuffix
Public methodToUnits
Convert value from internal units (eg metres) to units for this descriptor (eg inches).
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Public operatorStatic memberInequality
Top
Fields
See Also