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

◆ FindTemplateImports() [1/2]

TemplateAction System.Xml.Xsl.XsltOld.Stylesheet.FindTemplateImports ( Processor processor,
XPathNavigator navigator )
inlinepackage

Definition at line 332 of file Stylesheet.cs.

333 {
334 TemplateAction templateAction = null;
335 if (_imports != null)
336 {
337 for (int num = _imports.Count - 1; num >= 0; num--)
338 {
339 Stylesheet stylesheet = (Stylesheet)_imports[num];
340 templateAction = stylesheet.FindTemplate(processor, navigator);
341 if (templateAction != null)
342 {
343 return templateAction;
344 }
345 }
346 }
347 return templateAction;
348 }

References System.Xml.Xsl.XsltOld.Stylesheet._imports, System.Collections.ArrayList.Count, System.Xml.Dictionary, and System.Xml.Xsl.XsltOld.Stylesheet.FindTemplate().