Click or drag to resize

UnitDescriptor Constructor (String, UnitType, String, IUnitConverter)

Initializes a new instance of the UnitDescriptor class with an IUnitConvertor for conversion.

Namespace:  Demo3D.Utilities
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public UnitDescriptor(
	string name,
	UnitType type,
	string suffix,
	IUnitConverter converter
)

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.
See Also