Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ FunctionAvailableHelper()

bool System.Xml.Xsl.Runtime.XsltLibrary.FunctionAvailableHelper ( XmlQualifiedName name)
inlineprivate

Definition at line 82 of file XsltLibrary.cs.

83 {
84 if (QilGenerator.IsFunctionAvailable(name.Name, name.Namespace))
85 {
86 return true;
87 }
88 if (name.Namespace.Length == 0 || name.Namespace == "http://www.w3.org/1999/XSL/Transform")
89 {
90 return false;
91 }
93 {
94 return true;
95 }
96 return _runtime.EarlyBoundFunctionExists(name.Name, name.Namespace);
97 }
bool LateBoundFunctionExists(string name, string namespaceUri)
bool EarlyBoundFunctionExists(string name, string namespaceUri)
readonly XmlQueryRuntime _runtime
static bool IsFunctionAvailable(string localName, string nsUri)

References System.Xml.Xsl.Runtime.XsltLibrary._runtime, System.Xml.Xsl.Runtime.XmlQueryRuntime.EarlyBoundFunctionExists(), System.Xml.Xsl.Runtime.XmlQueryRuntime.ExternalContext, System.Xml.Xsl.Xslt.QilGenerator.IsFunctionAvailable(), and System.Xml.Xsl.Runtime.XmlQueryContext.LateBoundFunctionExists().

Referenced by System.Xml.Xsl.Runtime.XsltLibrary.FunctionAvailable().