57 references to QueryAxisType
System.ServiceModel (57)
System\ServiceModel\Dispatcher\QueryModel.cs (23)
55
QueryAxisType
type;
58
internal QueryAxis(
QueryAxisType
type, AxisDirection direction, QueryNodeType principalNode, QueryNodeType validNodeTypes)
82
internal
QueryAxisType
Type
105
case
QueryAxisType
.DescendantOrSelf:
106
case
QueryAxisType
.Descendant:
107
case
QueryAxisType
.Attribute:
108
case
QueryAxisType
.Child:
109
case
QueryAxisType
.Self:
354
new QueryAxis(
QueryAxisType
.None, AxisDirection.Forward, QueryNodeType.Any, QueryNodeType.Any),
355
new QueryAxis(
QueryAxisType
.Ancestor, AxisDirection.Reverse, QueryNodeType.Element, QueryNodeType.Ancestor),
356
new QueryAxis(
QueryAxisType
.AncestorOrSelf, AxisDirection.Reverse, QueryNodeType.Element, QueryNodeType.All),
357
new QueryAxis(
QueryAxisType
.Attribute, AxisDirection.Forward, QueryNodeType.Attribute, QueryNodeType.Attribute),
358
new QueryAxis(
QueryAxisType
.Child, AxisDirection.Forward, QueryNodeType.Element, QueryNodeType.ChildNodes),
359
new QueryAxis(
QueryAxisType
.Descendant, AxisDirection.Forward, QueryNodeType.Element, QueryNodeType.ChildNodes),
360
new QueryAxis(
QueryAxisType
.DescendantOrSelf, AxisDirection.Forward, QueryNodeType.Element, QueryNodeType.All),
361
new QueryAxis(
QueryAxisType
.Following, AxisDirection.Forward, QueryNodeType.Element, QueryNodeType.ChildNodes),
362
new QueryAxis(
QueryAxisType
.FollowingSibling, AxisDirection.Forward, QueryNodeType.Element, QueryNodeType.ChildNodes),
363
new QueryAxis(
QueryAxisType
.Namespace, AxisDirection.Forward, QueryNodeType.Namespace, QueryNodeType.Namespace),
364
new QueryAxis(
QueryAxisType
.Parent, AxisDirection.Reverse, QueryNodeType.Element, QueryNodeType.Ancestor),
365
new QueryAxis(
QueryAxisType
.Preceding, AxisDirection.Reverse, QueryNodeType.Element, QueryNodeType.ChildNodes),
366
new QueryAxis(
QueryAxisType
.PrecedingSibling, AxisDirection.Reverse, QueryNodeType.Element, QueryNodeType.All),
367
new QueryAxis(
QueryAxisType
.Self, AxisDirection.Forward, QueryNodeType.Element, QueryNodeType.All),
402
internal static QueryAxis GetAxis(
QueryAxisType
type)
System\ServiceModel\Dispatcher\QuerySelectOp.cs (12)
27
internal NodeSelectCriteria(
QueryAxisType
axis, NodeQName qname, QueryNodeType nodeType)
48
return
QueryAxisType
.Self == this.axis.Type ||
QueryAxisType
.Child == this.axis.Type;
172
if (
QueryAxisType
.Self == this.axis.Type)
179
else if (
QueryAxisType
.Descendant == this.axis.Type)
183
else if (
QueryAxisType
.DescendantOrSelf == this.axis.Type)
188
else if (
QueryAxisType
.Child == this.axis.Type)
205
else if (
QueryAxisType
.Attribute == this.axis.Type)
257
if (
QueryAxisType
.Descendant == this.axis.Type)
281
if (
QueryAxisType
.Descendant == this.axis.Type)
286
else if (
QueryAxisType
.DescendantOrSelf == this.axis.Type)
338
if (
QueryAxisType
.Self == this.axis.Type)
System\ServiceModel\Dispatcher\QuerySubExprEliminator.cs (1)
33
this.useSpecial = parent is SubExprHeader && ((SelectOpcode)ops).Criteria.Axis.Type ==
QueryAxisType
.Child;
System\ServiceModel\Dispatcher\XPathParser.cs (21)
158
path.Add(new XPathStepExpr(new NodeSelectCriteria(
QueryAxisType
.Child, NodeQName.Empty, QueryNodeType.Root)));
165
path.Add(new XPathStepExpr(new NodeSelectCriteria(
QueryAxisType
.Child, NodeQName.Empty, QueryNodeType.Root)));
166
path.Add(new XPathStepExpr(new NodeSelectCriteria(
QueryAxisType
.DescendantOrSelf, NodeQName.Empty, QueryNodeType.All)));
250
QueryAxisType
ParseAxisSpecifier()
254
return
QueryAxisType
.Attribute;
257
QueryAxisType
axisType =
QueryAxisType
.None;
269
axisType =
QueryAxisType
.Attribute;
273
axisType =
QueryAxisType
.Child;
277
axisType =
QueryAxisType
.Descendant;
281
axisType =
QueryAxisType
.DescendantOrSelf;
285
axisType =
QueryAxisType
.Self;
532
NodeSelectCriteria ParseNodeTest(
QueryAxisType
axisType)
534
Fx.Assert(
QueryAxisType
.None != axisType, "");
692
pathExpr.Add(new XPathStepExpr(new NodeSelectCriteria(
QueryAxisType
.DescendantOrSelf, NodeQName.Empty, QueryNodeType.All)));
806
step = new XPathStepExpr(new NodeSelectCriteria(
QueryAxisType
.DescendantOrSelf, NodeQName.Empty, QueryNodeType.All));
884
QueryAxisType
axis = this.ParseAxisSpecifier();
888
if (
QueryAxisType
.None != axis)
898
selectDesc = new NodeSelectCriteria(
QueryAxisType
.Self, NodeQName.Empty, QueryNodeType.All);
904
selectDesc = new NodeSelectCriteria(
QueryAxisType
.Parent, NodeQName.Empty, QueryNodeType.Ancestor);
910
if (null == (selectDesc = this.ParseNodeTest(
QueryAxisType
.Child)))