Detailed Description

A global lookup of at rule name to handler. E.g. -face is a CSS at rule. Css at rules 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 ruleType)
 Adds a CSS at rule to the global set. This is generally done automatically, but you can also add one manually if you wish. More...
 
static CssAtRule GetLocal (string name)
 Creates a local copy of a CSS at rule by the given name. Case insensitive. Null if not found. More...
 
static CssAtRule Get (string name)
 Attempts to find the named at rule, returning the global instance if it's found. More...
 

Static Public Attributes

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

Member Function Documentation

static bool Css.CssAtRules.Add ( Type  ruleType)
inlinestatic

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

Parameters
cssRuleThe at rule to add.
Returns
True if adding it was successful.
static CssAtRule Css.CssAtRules.Get ( string  name)
inlinestatic

Attempts to find the named at rule, returning the global instance if it's found.

Parameters
nameThe rule to look for.
Returns
The global CssAtRule if the rule was found; Null otherwise.
static CssAtRule Css.CssAtRules.GetLocal ( string  name)
inlinestatic

Creates a local copy of a CSS at rule by the given name. Case insensitive. Null if not found.

Member Data Documentation

Dictionary<string,CssAtRule> Css.CssAtRules.All
static

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