Click or drag to resize

UnitsExtensionsGetAllDefinedUnits Method

Gets all defined units in the currently loaded assemblies, i.e. all classes that are decorated with the UnitDescriptionAttribute.

Namespace: Altaxo.Units
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IReadOnlyDictionary<Type, UnitDescriptionAttribute> GetAllDefinedUnits()

Return Value

IReadOnlyDictionaryType, UnitDescriptionAttribute
A dictionary with the type of the unit (key) and the UnitDescriptionAttribute of this type (value).
See Also