public StyleRule(string selectorText, IReadOnlyList <CssNode> children) : this(CssSelector.Parse(selectorText)) { foreach (var child in children) { child.Parent = this; base.Children.Add(child); } }
public StyleRule(CssSelector selector) { Selector = selector; }
public StyleRule(string selectorText) : this(CssSelector.Parse(selectorText)) { }