コード例 #1
0
ファイル: DomPath.cs プロジェクト: Carbonfrost/f-web-dom
 public DomPath Element(DomName name)
 {
     if (name is null)
     {
         throw new ArgumentNullException(nameof(name));
     }
     return(Append(DomPathExpression.Element(name, -1)));
 }
コード例 #2
0
ファイル: DomPath.cs プロジェクト: Carbonfrost/f-web-dom
 public DomPath DescendantHasAttribute(DomName name)
 {
     return(Append(DomPathExpression.DescendantHasAttribute(name)));
 }
コード例 #3
0
ファイル: DomPath.cs プロジェクト: Carbonfrost/f-web-dom
 public DomPath Attribute(DomName name)
 {
     return(Append(DomPathExpression.Attribute(name)));
 }
コード例 #4
0
ファイル: DomPath.cs プロジェクト: Carbonfrost/f-web-dom
 public DomPath Element(DomName name, int index)
 {
     return(Append(DomPathExpression.Element(name, index)));
 }
コード例 #5
0
ファイル: DomPath.cs プロジェクト: Carbonfrost/f-web-dom
 private DomPath Append(DomPathExpression append)
 {
     return(new DomPathLeaf(this, append));
 }
コード例 #6
0
ファイル: DomPath.cs プロジェクト: Carbonfrost/f-web-dom
 public DomPath Id(string id)
 {
     return(Append(DomPathExpression.ById(id)));
 }
コード例 #7
0
ファイル: DomPath.cs プロジェクト: Carbonfrost/f-web-dom
 public DomPath DescendantHasAttributeValue(DomName name, string value)
 {
     return(Append(DomPathExpression.DescendantHasAttributeValue(name, value)));
 }