public override bool Matches(DomContainer root, DomElement element) { return(element.HasAttribute(name) && element.Attribute(name).EndsWith(value, StringComparison.OrdinalIgnoreCase)); // value is lower case }
public override bool Matches(DomElement root, DomElement element) { return element.HasAttribute(name) && pattern.IsMatch(element.Attribute(name)); }
public override bool Matches(DomContainer root, DomElement element) { return(element.HasAttribute(name)); }
public override bool Matches(DomElement root, DomElement element) { return element.HasAttribute(name); }
public override bool Matches(DomContainer root, DomElement element) { return(element.HasAttribute(name) && element.Attribute(name).ToLower().Contains(value)); // value is lower case }
public override bool Matches(DomElement root, DomElement element) { return element.HasAttribute(name) && value.Equals( element.Attribute(name), StringComparison.OrdinalIgnoreCase); }
public override bool Matches(DomElement root, DomElement element) { return element.HasAttribute(name) && element.Attribute(name).EndsWith(value, StringComparison.OrdinalIgnoreCase); // value is lower case }
public override bool Matches(DomElement root, DomElement element) { return element.HasAttribute(name) && element.Attribute(name).ToLower().Contains(value); // value is lower case }
public override bool Matches(DomContainer root, DomElement element) { return(element.HasAttribute(name) && value.Equals( element.Attribute(name), StringComparison.OrdinalIgnoreCase)); }