79 references to XPathFunctionID
System.ServiceModel (79)
System\ServiceModel\Dispatcher\QueryFunctions.cs (78)
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)
531
XPathFunctionID
functionID;
533
internal XPathFunction(
XPathFunctionID
functionID, string name, ValueDataType returnType)
539
internal XPathFunction(
XPathFunctionID
functionID, string name, ValueDataType returnType, QueryFunctionFlag flags)
545
internal XPathFunction(
XPathFunctionID
functionID, string name, ValueDataType returnType, ValueDataType[] argTypes)
551
internal
XPathFunctionID
ID
590
case
XPathFunctionID
.IterateSequences:
594
case
XPathFunctionID
.Count:
598
case
XPathFunctionID
.Position:
602
case
XPathFunctionID
.Last:
606
case
XPathFunctionID
.LocalName:
610
case
XPathFunctionID
.LocalNameDefault:
614
case
XPathFunctionID
.Name:
618
case
XPathFunctionID
.NameDefault:
622
case
XPathFunctionID
.NamespaceUri:
626
case
XPathFunctionID
.NamespaceUriDefault:
630
case
XPathFunctionID
.Boolean:
634
case
XPathFunctionID
.False:
638
case
XPathFunctionID
.True:
642
case
XPathFunctionID
.Not:
646
case
XPathFunctionID
.Lang:
650
case
XPathFunctionID
.Contains:
654
case
XPathFunctionID
.Number:
658
case
XPathFunctionID
.NumberDefault:
662
case
XPathFunctionID
.Ceiling:
666
case
XPathFunctionID
.Floor:
670
case
XPathFunctionID
.Round:
674
case
XPathFunctionID
.Sum:
678
case
XPathFunctionID
.String:
682
case
XPathFunctionID
.StringDefault:
686
case
XPathFunctionID
.ConcatTwo:
690
case
XPathFunctionID
.ConcatThree:
694
case
XPathFunctionID
.ConcatFour:
698
case
XPathFunctionID
.StartsWith:
702
case
XPathFunctionID
.StringLength:
706
case
XPathFunctionID
.StringLengthDefault:
710
case
XPathFunctionID
.SubstringBefore:
714
case
XPathFunctionID
.SubstringAfter:
718
case
XPathFunctionID
.Substring:
722
case
XPathFunctionID
.SubstringLimit:
726
case
XPathFunctionID
.Translate:
730
case
XPathFunctionID
.NormalizeSpace:
734
case
XPathFunctionID
.NormalizeSpaceDefault:
System\ServiceModel\Dispatcher\XPathCompiler.cs (1)
382
if (
XPathFunctionID
.StartsWith == function.ID)