36 instantiations of XPathFunction
System.ServiceModel (36)
System\ServiceModel\Dispatcher\QueryFunctions.cs (36)
389
new
XPathFunction
(XPathFunctionID.Boolean, "boolean", ValueDataType.Boolean, new ValueDataType[] { ValueDataType.None }),
390
new
XPathFunction
(XPathFunctionID.False, "false", ValueDataType.Boolean),
391
new
XPathFunction
(XPathFunctionID.True, "true", ValueDataType.Boolean),
392
new
XPathFunction
(XPathFunctionID.Not, "not", ValueDataType.Boolean, new ValueDataType[] { ValueDataType.Boolean }),
393
new
XPathFunction
(XPathFunctionID.Lang, "lang", ValueDataType.Boolean, new ValueDataType[] { ValueDataType.String }),
395
new
XPathFunction
(XPathFunctionID.Number, "number", ValueDataType.Double, new ValueDataType[] { ValueDataType.None }),
396
new
XPathFunction
(XPathFunctionID.NumberDefault, "number", ValueDataType.Double),
397
new
XPathFunction
(XPathFunctionID.Sum, "sum", ValueDataType.Double, new ValueDataType[] { ValueDataType.Sequence }),
398
new
XPathFunction
(XPathFunctionID.Floor, "floor", ValueDataType.Double, new ValueDataType[] { ValueDataType.Double }),
399
new
XPathFunction
(XPathFunctionID.Ceiling, "ceiling", ValueDataType.Double, new ValueDataType[] { ValueDataType.Double }),
400
new
XPathFunction
(XPathFunctionID.Round, "round", ValueDataType.Double, new ValueDataType[] { ValueDataType.Double }),
402
new
XPathFunction
(XPathFunctionID.String, "string", ValueDataType.String, new ValueDataType[] { ValueDataType.None }),
403
new
XPathFunction
(XPathFunctionID.StringDefault, "string", ValueDataType.String, QueryFunctionFlag.UsesContextNode),
404
new
XPathFunction
(XPathFunctionID.ConcatTwo, "concat", ValueDataType.String, new ValueDataType[] { ValueDataType.String, ValueDataType.String }),
405
new
XPathFunction
(XPathFunctionID.ConcatThree, "concat", ValueDataType.String, new ValueDataType[] { ValueDataType.String, ValueDataType.String, ValueDataType.String }),
406
new
XPathFunction
(XPathFunctionID.ConcatFour, "concat", ValueDataType.String, new ValueDataType[] { ValueDataType.String, ValueDataType.String, ValueDataType.String, ValueDataType.String }),
407
new
XPathFunction
(XPathFunctionID.StartsWith, "starts-with", ValueDataType.Boolean, new ValueDataType[] { ValueDataType.String, ValueDataType.String }),
408
new
XPathFunction
(XPathFunctionID.NormalizeSpace, "normalize-space", ValueDataType.String, new ValueDataType[] { ValueDataType.String }),
409
new
XPathFunction
(XPathFunctionID.NormalizeSpaceDefault, "normalize-space", ValueDataType.String, QueryFunctionFlag.UsesContextNode),
410
new
XPathFunction
(XPathFunctionID.Contains, "contains", ValueDataType.Boolean, new ValueDataType[] { ValueDataType.String, ValueDataType.String }),
411
new
XPathFunction
(XPathFunctionID.SubstringBefore, "substring-before", ValueDataType.String, new ValueDataType[] { ValueDataType.String, ValueDataType.String }),
412
new
XPathFunction
(XPathFunctionID.SubstringAfter, "substring-after", ValueDataType.String, new ValueDataType[] { ValueDataType.String, ValueDataType.String }),
413
new
XPathFunction
(XPathFunctionID.Substring, "substring", ValueDataType.String, new ValueDataType[] { ValueDataType.String, ValueDataType.Double }),
414
new
XPathFunction
(XPathFunctionID.SubstringLimit, "substring", ValueDataType.String, new ValueDataType[] { ValueDataType.String, ValueDataType.Double, ValueDataType.Double }),
415
new
XPathFunction
(XPathFunctionID.StringLength, "string-length", ValueDataType.Double, new ValueDataType[] { ValueDataType.String }),
416
new
XPathFunction
(XPathFunctionID.StringLengthDefault, "string-length", ValueDataType.Double, QueryFunctionFlag.UsesContextNode),
417
new
XPathFunction
(XPathFunctionID.Translate, "translate", ValueDataType.String, new ValueDataType[] { ValueDataType.String, ValueDataType.String, ValueDataType.String }),
419
new
XPathFunction
(XPathFunctionID.Last, "last", ValueDataType.Double, QueryFunctionFlag.UsesContextNode),
420
new
XPathFunction
(XPathFunctionID.Position, "position", ValueDataType.Double, QueryFunctionFlag.UsesContextNode),
421
new
XPathFunction
(XPathFunctionID.Count, "count", ValueDataType.Double, new ValueDataType[] { ValueDataType.Sequence }),
422
new
XPathFunction
(XPathFunctionID.LocalName, "local-name", ValueDataType.String, new ValueDataType[] { ValueDataType.Sequence }),
423
new
XPathFunction
(XPathFunctionID.LocalNameDefault, "local-name", ValueDataType.String, QueryFunctionFlag.UsesContextNode),
424
new
XPathFunction
(XPathFunctionID.Name, "name", ValueDataType.String, new ValueDataType[] { ValueDataType.Sequence }),
425
new
XPathFunction
(XPathFunctionID.NameDefault, "name", ValueDataType.String, QueryFunctionFlag.UsesContextNode),
426
new
XPathFunction
(XPathFunctionID.NamespaceUri, "namespace-uri", ValueDataType.String, new ValueDataType[] { ValueDataType.Sequence }),
427
new
XPathFunction
(XPathFunctionID.NamespaceUriDefault, "namespace-uri", ValueDataType.String, QueryFunctionFlag.UsesContextNode)
59 references to XPathFunction
System.ServiceModel (59)
System\ServiceModel\Dispatcher\QueryFunctions.cs (57)
384
static
XPathFunction
[] functionTable;
388
XPathFunctionLibrary.functionTable = new
XPathFunction
[] {
561
XPathFunction
xpathFunction = function as
XPathFunction
;
591
XPathFunction
.IterateAndPushSequences(context);
595
XPathFunction
.NodesetCount(context);
599
XPathFunction
.NodesetPosition(context);
603
XPathFunction
.NodesetLast(context);
607
XPathFunction
.NodesetLocalName(context);
611
XPathFunction
.NodesetLocalNameDefault(context);
615
XPathFunction
.NodesetName(context);
619
XPathFunction
.NodesetNameDefault(context);
623
XPathFunction
.NodesetNamespaceUri(context);
627
XPathFunction
.NodesetNamespaceUriDefault(context);
631
XPathFunction
.BooleanBoolean(context);
635
XPathFunction
.BooleanFalse(context);
639
XPathFunction
.BooleanTrue(context);
643
XPathFunction
.BooleanNot(context);
647
XPathFunction
.BooleanLang(context);
651
XPathFunction
.StringContains(context);
655
XPathFunction
.NumberNumber(context);
659
XPathFunction
.NumberNumberDefault(context);
663
XPathFunction
.NumberCeiling(context);
667
XPathFunction
.NumberFloor(context);
671
XPathFunction
.NumberRound(context);
675
XPathFunction
.NumberSum(context);
679
XPathFunction
.StringString(context);
683
XPathFunction
.StringStringDefault(context);
687
XPathFunction
.StringConcatTwo(context);
691
XPathFunction
.StringConcatThree(context);
695
XPathFunction
.StringConcatFour(context);
699
XPathFunction
.StringStartsWith(context);
703
XPathFunction
.StringLength(context);
707
XPathFunction
.StringLengthDefault(context);
711
XPathFunction
.SubstringBefore(context);
715
XPathFunction
.SubstringAfter(context);
719
XPathFunction
.Substring(context);
723
XPathFunction
.SubstringLimit(context);
727
XPathFunction
.Translate(context);
731
XPathFunction
.NormalizeSpace(context);
735
XPathFunction
.NormalizeSpaceDefault(context);
875
XPathFunction
.IterateAndPushSequences(context);
876
XPathFunction
.NodesetLocalName(context);
893
XPathFunction
.IterateAndPushSequences(context);
894
XPathFunction
.NodesetName(context);
911
XPathFunction
.IterateAndPushSequences(context);
912
XPathFunction
.NodesetNamespaceUri(context);
944
XPathFunction
.IterateAndPushSequences(context);
945
XPathFunction
.NumberNumber(context);
1000
XPathFunction
.IterateAndPushSequences(context);
1001
XPathFunction
.StringString(context);
1090
XPathFunction
.IterateAndPushSequences(context);
1091
XPathFunction
.ConvertFirstArg(context, ValueDataType.String);
1092
XPathFunction
.StringLength(context);
1282
XPathFunction
.IterateAndPushSequences(context);
1283
XPathFunction
.ConvertFirstArg(context, ValueDataType.String);
1284
XPathFunction
.NormalizeSpace(context);
System\ServiceModel\Dispatcher\XPathCompiler.cs (2)
379
XPathFunction
function = expr.Function as
XPathFunction
;