GetDeclarations() private method

private GetDeclarations ( ) : CssPropertyDeclaration>.Dictionary
return CssPropertyDeclaration>.Dictionary
Ejemplo n.º 1
0
 public IEnumerable <WebDom.CssPropertyDeclaration> GetPropertyDeclIter()
 {
     if (_assignments != null)
     {
         var decls = _assignments.GetDeclarations();
         foreach (var decl in decls.Values)
         {
             yield return(decl);
         }
     }
 }
Ejemplo n.º 2
0
 public WebDom.CssPropertyDeclaration GetPropertyDeclaration(WebDom.WellknownCssPropertyName wellknownPropName)
 {
     if (_assignments != null)
     {
         WebDom.CssPropertyDeclaration decl;
         _assignments.GetDeclarations().TryGetValue(wellknownPropName, out decl);
         return(decl);
     }
     return(null);
 }