protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return builder.
         WrapWithIndex(x => x.Descendant._("fieldset")[y => y._("legend")[z => z.TermsConditionOfContent]]).
         DescendantOrSelf.ComponentXPath;
 }
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return builder.WrapWithIndex(options.Index.Value, x => x.Descendant.ComponentXPath);
 }
示例#3
0
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return(builder.
            WrapWithIndex(x => x.Descendant._("fieldset")[y => y._("legend")[z => z.TermsConditionOfContent]]).
            DescendantOrSelf.ComponentXPath);
 }
示例#4
0
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return(builder.WrapWithIndex(options.Index.Value, x => x.OuterXPath.ComponentXPath));
 }
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return(builder.
            WrapWithIndex(x => x.Descendant.ComponentXPath[y => y.Any[childIndex + 1][z => z.TermsConditionOfContent]]));
 }
示例#6
0
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return(builder.Self.Any);
 }
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return(builder.
            WrapWithIndex(x => x.OuterXPath._(CellXPath).WhereIndex(ColumnIndex).DescendantOrSelf.ComponentXPath));
 }
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return builder.
         WrapWithIndex(x => x.Descendant.Any[y => y.TermsConditionOf("name")]).
         DescendantOrSelf.ComponentXPath;
 }
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return(builder.
            WrapWithIndex(x => x.OuterXPath.ComponentXPath[c => c.Descendant.Any[d => d.TermsConditionOf(attributeName)]]));
 }
示例#10
0
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return(builder.
            WrapWithIndex(x => x.Descendant.Any[y => y.TermsConditionOf("name")]).
            DescendantOrSelf.ComponentXPath);
 }
示例#11
0
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return(builder.Wrap(x => x.OuterXPath.ComponentXPath)["last()"]);
 }
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return builder.Self.Any;
 }
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return(builder.DescendantOrSelf.ComponentXPath);
 }
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return builder.
         WrapWithIndex(x => x.Descendant.ComponentXPath[y => y.TermsConditionOfContent]);
 }
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return builder.DescendantOrSelf.ComponentXPath;
 }
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return builder.
         WrapWithIndex(x => x.Descendant._("td").WhereIndex(columnIndex).DescendantOrSelf.ComponentXPath);
 }
示例#17
0
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return(builder.OuterXPath.ComponentXPath);
 }
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return builder.
         WrapWithIndex(x => x.Descendant._("dl/dt")[y => y.TermsConditionOfContent]).
         FollowingSibling._("dd").DescendantOrSelf.ComponentXPath;
 }
 protected override string Build(ComponentScopeXPathBuilder builder, ComponentScopeLocateOptions options)
 {
     return(builder.
            WrapWithIndex(x => x.OuterXPath.ComponentXPath[y => y.TermsConditionOf(_attributeName)]));
 }