Detailed Description

A global lookup of function name to function. E.g. rgba() is a CSS function. Css functions are instanced globally and mapped to the names they use. Note that functions are not instanced per element.

Static Public Member Functions

static bool Add (Type functionType)
 Adds a CSS function to the global set. This is generally done automatically, but you can also add one manually if you wish. More...
 
static CssFunction Get (string name)
 Attempts to find the named function, returning the global function if it's found. More...
 

Static Public Attributes

static Dictionary< string,
CssFunction
All
 The lookup itself. Matches name (e.g. "rgba") to the function that will process it. More...
 

Member Function Documentation

static bool Css.CssFunctions.Add ( Type  functionType)
inlinestatic

Adds a CSS function to the global set. This is generally done automatically, but you can also add one manually if you wish.

Parameters
functionTypeThe type of the function to add.
Returns
True if adding it was successful.
static CssFunction Css.CssFunctions.Get ( string  name)
inlinestatic

Attempts to find the named function, returning the global function if it's found.

Parameters
nameThe function to look for.
Returns
The global CssFunction if the function was found; Null otherwise.

Member Data Documentation

Dictionary<string,CssFunction> Css.CssFunctions.All
static

The lookup itself. Matches name (e.g. "rgba") to the function that will process it.