UnitDescriptor Constructor (String, UnitType, String, IUnitConverter, UnitSystem) |
Initializes a new instance of the UnitDescriptor class with an IUnitConvertor for conversion and a specific unit system.
Namespace:
Demo3D.Utilities
Assembly:
Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntaxpublic UnitDescriptor(
string name,
UnitType type,
string suffix,
IUnitConverter converter,
UnitSystem system
)
Parameters
- name
- Type: SystemString
The name of the unit. - type
- Type: Demo3D.UtilitiesUnitType
The UnitType this unit is used in conjunction with. - suffix
- Type: SystemString
The unit's suffix. - converter
- Type: Demo3D.UtilitiesIUnitConverter
An IUnitConverter to be used to convert between this unit and the internal units for this unit type. - system
- Type: Demo3D.UtilitiesUnitSystem
The UnitSystem representing the system this unit belongs to.
See Also