/// <summary> /// Indicates whether this instance and another are equal. /// </summary> public bool Equals(NamespacePrefix other) { return(Text == other.Text); }
public void AttributeSubstring(NamespacePrefix prefix, string name, string value) { Add(Ops.AttributeSubstring(prefix, name, value)); }
/// <summary> /// Indicates whether this instance and another are equal. /// </summary> public bool Equals(NamespacePrefix other) { return Text == other.Text; }
public virtual void AttributeIncludes(NamespacePrefix prefix, string name, string value) { Add(Ops.AttributeIncludes(prefix, name, value)); }
public virtual void AttributeDashMatch(NamespacePrefix prefix, string name, string value) { Add(Ops.AttributeDashMatch(prefix, name, value)); }
public virtual void AttributeExists(NamespacePrefix prefix, string name) { Add(Ops.AttributeExists(prefix, name)); }
public void AttributeNotEqual(NamespacePrefix prefix, string name, string value) { Add(Ops.AttributeNotEqual(prefix, name, value)); }
public virtual void Universal(NamespacePrefix prefix) { Add(Ops.Universal(prefix)); }
public virtual void Type(NamespacePrefix prefix, string type) { Add(Ops.Type(prefix, type)); }
public virtual Selector <HtmlNode> AttributeExists(NamespacePrefix prefix, string name) { return(prefix.IsSpecific ? (Selector <HtmlNode>)(nodes => Enumerable.Empty <HtmlNode>()) : (nodes => nodes.Elements().Where(n => n.Attributes[name] != null))); }
public virtual Selector <HtmlNode> Universal(NamespacePrefix prefix) { return(prefix.IsSpecific ? (Selector <HtmlNode>)(nodes => Enumerable.Empty <HtmlNode>()) : (nodes => nodes.Elements())); }
public virtual Selector <HtmlNode> Type(NamespacePrefix prefix, string type) { return(prefix.IsSpecific ? (Selector <HtmlNode>)(nodes => Enumerable.Empty <HtmlNode>()) : (nodes => nodes.Elements().Where(n => n.Name == type))); }