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

◆ XslIf()

XslNode System.Xml.Xsl.Xslt.XsltLoader.XslIf ( )
inlineprivate

Definition at line 1417 of file XsltLoader.cs.

1418 {
1420 string test = ParseStringAttribute(0, "test");
1421 return SetInfo(AstFactory.If(test, _input.XslVersion), LoadInstructions(), attributes);
1422 }
readonly XsltInput.XsltAttribute[] _ifAttributes
string ParseStringAttribute(int attNum, string attName)
List< XslNode > LoadInstructions()
static XslNode SetInfo(XslNode to, List< XslNode > content, XsltInput.ContextInfo info)

References System.Xml.Xsl.Xslt.XsltLoader._ifAttributes, System.Xml.Xsl.Xslt.XsltLoader._input, System.Xml.Xsl.Xslt.XsltInput.GetAttributes(), System.Xml.Xsl.Xslt.AstFactory.If(), System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(), System.Xml.Xsl.Xslt.XsltLoader.ParseStringAttribute(), System.Xml.Xsl.Xslt.XsltLoader.SetInfo(), and System.Xml.Xsl.Xslt.XsltInput.XslVersion.

Referenced by System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(), and System.Xml.Xsl.Xslt.XsltLoader.XslChoose().