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

◆ Execute()

override void System.Xml.Xsl.XsltOld.CommentAction.Execute ( Processor processor,
ActionFrame frame )
inlinepackage

Definition at line 17 of file CommentAction.cs.

18 {
19 switch (frame.State)
20 {
21 case 0:
22 if (processor.BeginEvent(XPathNodeType.Comment, string.Empty, string.Empty, string.Empty, empty: false))
23 {
24 processor.PushActionFrame(frame);
25 frame.State = 1;
26 }
27 break;
28 case 1:
29 if (processor.EndEvent(XPathNodeType.Comment))
30 {
31 frame.Finished();
32 }
33 break;
34 }
35 }

References System.Xml.Dictionary, System.Xml.Xsl.XsltOld.ActionFrame.Finished(), and System.Xml.Xsl.XsltOld.ActionFrame.State.