GetDeclarations() private méthode

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