public Parse ( string selector ) : CsQuery.Engine.Selector | ||
selector | string | |
Результат | CsQuery.Engine.Selector |
/// <summary> /// Create a new selector from any string /// </summary> /// <param name="selector"></param> public SelectorChain(string selector) { var parser = new SelectorParser(); Selectors.AddRange(parser.Parse(selector)); }
/// <summary> /// Create a new selector from any string. /// </summary> /// /// <param name="selector"> /// The CSS selector string, or a string of HTML. /// </param> public Selector(string selector) { var parser = new SelectorParser(); Clauses.AddRange(parser.Parse(selector)); }