A global lookup of units to handler. E.g. ..px is a unit. A global one is instanced and copied when it's required.
Static Public Member Functions | |
| static void | Add (Type unitType) |
| Adds a unit by its type. More... | |
Static Public Attributes | |
| static Dictionary< char, CssUnitHandlers > | AllEnd |
| A mapping which maps first character to a set of CSS units. Applies to the end of a value, e.g. % or px. More... | |
| static Dictionary< char, CssUnitHandlers > | AllStart |
| A mapping which maps first character to a set of CSS units. Applies to the start of a value, e.g. " or #. More... | |
Static Private Member Functions | |
| static void | AddToSet (string[] names, Dictionary< char, CssUnitHandlers > set, CssUnit cssUnit) |
| Adds a CSS at rule to the global set. More... | |
|
inlinestatic |
Adds a unit by its type.
| unitType | The type of the unit to add. |
|
inlinestaticprivate |
Adds a CSS at rule to the global set.
| cssUnit | The at rule to add. |
|
static |
A mapping which maps first character to a set of CSS units. Applies to the end of a value, e.g. % or px.
|
static |
A mapping which maps first character to a set of CSS units. Applies to the start of a value, e.g. " or #.