Click or drag to resize

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]"

Inheritance Hierarchy
SystemObject
  DHI.Mike1D.GenericUserUnitDefaults

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static class UserUnitDefaults

The UserUnitDefaults type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetSIUnitProvider
Get default SI unit provider
Public methodStatic memberGetUBGUnitProvider
Get UBG unit provider
Public methodStatic memberGetUSUnitProvider
Get default US unit provider
Public methodStatic memberRegisterUnit
Top
Fields
  NameDescription
Public fieldStatic memberSIUnits
Currently active SI unit definitions
Public fieldStatic memberUSUnits
Currently active US unit definitions
Top
See Also