GetDeclarations() private method

private GetDeclarations ( ) : CssPropertyDeclaration>.Dictionary
return CssPropertyDeclaration>.Dictionary
Exemplo n.º 1
0
 public IEnumerable <WebDom.CssPropertyDeclaration> GetPropertyDeclIter()
 {
     if (_assignments != null)
     {
         var decls = _assignments.GetDeclarations();
         foreach (var decl in decls.Values)
         {
             yield return(decl);
         }
     }
 }
Exemplo 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);
 }