Esempio n. 1
0
        protected override void ReplaceWith(ICssRule rule)
        {
            var newRule = rule as CSSGroupingRule;

            _rules.Clear();
            _rules.Import(newRule._rules, Owner, Parent);
        }
Esempio n. 2
0
        protected override void ReplaceWith(ICssRule rule)
        {
            var newRule = rule as CSSKeyframesRule;

            _name = newRule._name;
            _rules.Clear();
            _rules.Import(newRule._rules, Owner, Parent);
        }
 internal void ReevaluateFromUrl(String url)
 {
     TryCancelCurrent();
     _cssRules.Clear();
     _current = ParseAsync(url, _cts.Token);
 }