UserUnitDefaults Class

Static class, containing units for various quantities, both SI and US

A quantity is identified by its id and EUM item type. It is possible to match quantity id's in three ways: 1) Exact match (case insensitive) 2) Id starts with: string starts with a *: "*myid" 3) Id ends with : string ends with a *: "myid*" 4) Id is matching a regular expression: string is inside [] "[regexMatch]"

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static class UserUnitDefaults
Inheritance
Object    UserUnitDefaults

Methods

GetEngineUnitProvider Get default engine unit provider, mostly SI base
GetSIUnitProvider Get default SI unit provider
GetUBGUnitProvider Get UBG unit provider
GetUSUnitProvider Get default US unit provider
RegisterUnit 

Fields

SIUnits Currently active metric (SI-based) unit definitions
USUnits Currently active US unit definitions

See Also