GetAssignmentIter() public method

public GetAssignmentIter ( ) : IEnumerable
return IEnumerable
Example #1
0
 internal void LoadRuleSet(CssRuleSet ruleSet)
 {
     foreach (CssPropertyDeclaration otherAssignment in ruleSet.GetAssignmentIter())
     {
         if (otherAssignment.WellknownPropertyName == WebDom.WellknownCssPropertyName.Unknown)
         {
             continue;
         }
         _myAssignments[otherAssignment.WellknownPropertyName] = otherAssignment;
     }
 }
Example #2
0
 internal void LoadRuleSet(CssRuleSet ruleSet)
 {
     foreach (CssPropertyDeclaration otherAssignment in ruleSet.GetAssignmentIter())
     {
         if (otherAssignment.WellknownPropertyName == WebDom.WellknownCssPropertyName.Unknown)
         {
             continue;
         }
         _myAssignments[otherAssignment.WellknownPropertyName] = otherAssignment;
     }
 }