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

◆ EvaluateVariable()

object System.Xml.Xsl.XsltOld.XsltCompileContext.EvaluateVariable ( VariableAction variable)
inlinepackage

Definition at line 479 of file XsltCompileContext.cs.

480 {
482 if (variableValue == null && !variable.IsGlobal)
483 {
485 if (variableAction != null)
486 {
488 }
489 }
490 if (variableValue == null)
491 {
492 throw XsltException.Create(System.SR.Xslt_InvalidVariable, variable.Name.ToString());
493 }
494 return variableValue;
495 }
static string Xslt_InvalidVariable
Definition SR.cs:1902
Definition SR.cs:7
VariableAction ResolveGlobalVariable(XmlQualifiedName qname)
object GetVariableValue(VariableAction variable)
Definition Processor.cs:738

References System.Xml.Xsl.XsltOld.XsltCompileContext._manager, System.Xml.Xsl.XsltOld.XsltCompileContext._processor, System.Xml.Xsl.XsltException.Create(), System.Xml.Dictionary, System.Xml.Xsl.XsltOld.Processor.GetVariableValue(), System.Xml.Xsl.XsltOld.InputScope.ResolveGlobalVariable(), System.Xml.Xsl.XsltOld.InputScopeManager.VariableScope, and System.SR.Xslt_InvalidVariable.