Exemplo n.º 1
0
 public DomPath Element(DomName name)
 {
     if (name is null)
     {
         throw new ArgumentNullException(nameof(name));
     }
     return(Append(DomPathExpression.Element(name, -1)));
 }
Exemplo n.º 2
0
 public DomPath DescendantHasAttribute(DomName name)
 {
     return(Append(DomPathExpression.DescendantHasAttribute(name)));
 }
Exemplo n.º 3
0
 public DomPath Attribute(DomName name)
 {
     return(Append(DomPathExpression.Attribute(name)));
 }
Exemplo n.º 4
0
 public DomPath Element(DomName name, int index)
 {
     return(Append(DomPathExpression.Element(name, index)));
 }
Exemplo n.º 5
0
 private DomPath Append(DomPathExpression append)
 {
     return(new DomPathLeaf(this, append));
 }
Exemplo n.º 6
0
 public DomPath Id(string id)
 {
     return(Append(DomPathExpression.ById(id)));
 }
Exemplo n.º 7
0
 public DomPath DescendantHasAttributeValue(DomName name, string value)
 {
     return(Append(DomPathExpression.DescendantHasAttributeValue(name, value)));
 }