36 instantiations of FunctionInfo
System.Data.SqlXml (36)
System\Xml\Xsl\XPath\XPathBuilder.cs (27)
690
table.Add("last" , new
FunctionInfo
(FuncId.Last , 0, 0, null));
691
table.Add("position" , new
FunctionInfo
(FuncId.Position , 0, 0, null));
692
table.Add("name" , new
FunctionInfo
(FuncId.Name , 0, 1, argNodeSet));
693
table.Add("namespace-uri" , new
FunctionInfo
(FuncId.NamespaceUri , 0, 1, argNodeSet));
694
table.Add("local-name" , new
FunctionInfo
(FuncId.LocalName , 0, 1, argNodeSet));
695
table.Add("count" , new
FunctionInfo
(FuncId.Count , 1, 1, argNodeSet));
696
table.Add("id" , new
FunctionInfo
(FuncId.Id , 1, 1, argAny));
697
table.Add("string" , new
FunctionInfo
(FuncId.String , 0, 1, argAny));
698
table.Add("concat" , new
FunctionInfo
(FuncId.Concat , 2, FunctionInfo.Infinity, null));
699
table.Add("starts-with" , new
FunctionInfo
(FuncId.StartsWith , 2, 2, argString2));
700
table.Add("contains" , new
FunctionInfo
(FuncId.Contains , 2, 2, argString2));
701
table.Add("substring-before" , new
FunctionInfo
(FuncId.SubstringBefore, 2, 2, argString2));
702
table.Add("substring-after" , new
FunctionInfo
(FuncId.SubstringAfter , 2, 2, argString2));
703
table.Add("substring" , new
FunctionInfo
(FuncId.Substring , 2, 3, argFnSubstr));
704
table.Add("string-length" , new
FunctionInfo
(FuncId.StringLength , 0, 1, argString));
705
table.Add("normalize-space" , new
FunctionInfo
(FuncId.Normalize , 0, 1, argString));
706
table.Add("translate" , new
FunctionInfo
(FuncId.Translate , 3, 3, argString3));
707
table.Add("boolean" , new
FunctionInfo
(FuncId.Boolean , 1, 1, argAny));
708
table.Add("not" , new
FunctionInfo
(FuncId.Not , 1, 1, argBoolean));
709
table.Add("true" , new
FunctionInfo
(FuncId.True , 0, 0, null));
710
table.Add("false" , new
FunctionInfo
(FuncId.False , 0, 0, null));
711
table.Add("lang" , new
FunctionInfo
(FuncId.Lang , 1, 1, argString));
712
table.Add("number" , new
FunctionInfo
(FuncId.Number , 0, 1, argAny));
713
table.Add("sum" , new
FunctionInfo
(FuncId.Sum , 1, 1, argNodeSet));
714
table.Add("floor" , new
FunctionInfo
(FuncId.Floor , 1, 1, argDouble));
715
table.Add("ceiling" , new
FunctionInfo
(FuncId.Ceiling , 1, 1, argDouble));
716
table.Add("round" , new
FunctionInfo
(FuncId.Round , 1, 1, argDouble));
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (9)
253
table.Add("current" , new
FunctionInfo
(FuncId.Current , 0, 0, null));
254
table.Add("document" , new
FunctionInfo
(FuncId.Document , 1, 2, argFnDocument));
255
table.Add("key" , new
FunctionInfo
(FuncId.Key , 2, 2, argFnKey));
256
table.Add("format-number" , new
FunctionInfo
(FuncId.FormatNumber , 2, 3, argFnFormatNumber));
257
table.Add("unparsed-entity-uri", new
FunctionInfo
(FuncId.UnparsedEntityUri, 1, 1, XPathBuilder.argString));
258
table.Add("generate-id" , new
FunctionInfo
(FuncId.GenerateId , 0, 1, XPathBuilder.argNodeSet));
259
table.Add("system-property" , new
FunctionInfo
(FuncId.SystemProperty , 1, 1, XPathBuilder.argString));
260
table.Add("element-available" , new
FunctionInfo
(FuncId.ElementAvailable , 1, 1, XPathBuilder.argString));
261
table.Add("function-available" , new
FunctionInfo
(FuncId.FunctionAvailable, 1, 1, XPathBuilder.argString));
26 references to FunctionInfo
System.Data.SqlXml (26)
System\Xml\Xsl\XPath\XPathBuilder.cs (7)
18
using FunctionInfo = XPathBuilder.
FunctionInfo
<XPathBuilder.FuncId>;
484
FunctionInfo
func;
687
public static Dictionary<string,
FunctionInfo
> FunctionTable = CreateFunctionTable();
688
private static Dictionary<string,
FunctionInfo
> CreateFunctionTable() {
689
Dictionary<string,
FunctionInfo
> table = new Dictionary<string,
FunctionInfo
>(36);
698
table.Add("concat" , new FunctionInfo(FuncId.Concat , 2,
FunctionInfo
.Infinity, null));
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (15)
17
using FunctionInfo = XPathBuilder.
FunctionInfo
<QilGenerator.FuncId>;
96
FunctionInfo
func;
131
FunctionInfo
.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
134
FunctionInfo
.CheckArity(/*minArg:*/2, /*maxArg:*/4, name, args.Count);
142
FunctionInfo
.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
145
FunctionInfo
.CheckArity(/*minArg:*/1, /*maxArg:*/3, name, args.Count);
154
FunctionInfo
.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
157
FunctionInfo
.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
160
FunctionInfo
.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
167
FunctionInfo
.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
170
FunctionInfo
.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
250
public static Dictionary<string,
FunctionInfo
> FunctionTable = CreateFunctionTable();
251
private static Dictionary<string,
FunctionInfo
> CreateFunctionTable() {
252
Dictionary<string,
FunctionInfo
> table = new Dictionary<string,
FunctionInfo
>(16);
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (4)
18
using XPathFunctionInfo = XPathBuilder.
FunctionInfo
<XPathBuilder.FuncId>;
19
using XsltFunctionInfo = XPathBuilder.
FunctionInfo
<QilGenerator.FuncId>;
962
XPathFunctionInfo
xpathFunc;
963
XsltFunctionInfo
xsltFunc;