Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
BuiltInRuleTextAction.cs
Go to the documentation of this file.
1
namespace
System.Xml.Xsl.XsltOld
;
2
3
internal
sealed
class
BuiltInRuleTextAction
:
Action
4
{
5
internal
override
void
Execute
(
Processor
processor
,
ActionFrame
frame)
6
{
7
switch
(frame.
State
)
8
{
9
case
0:
10
{
11
string
text
=
processor
.ValueOf(frame.
NodeSet
.Current);
12
if
(
processor
.TextEvent(
text
,
disableOutputEscaping
:
false
))
13
{
14
frame.
Finished
();
15
break
;
16
}
17
frame.StoredOutput
=
text
;
18
frame.State
= 2;
19
break
;
20
}
21
case
2:
22
processor
.TextEvent(frame.
StoredOutput
);
23
frame.
Finished
();
24
break
;
25
}
26
}
27
}
System.Xml.Xsl.XsltOld.ActionFrame.NodeSet
XPathNodeIterator NodeSet
Definition
ActionFrame.cs:113
System.Xml.Xsl.XsltOld.ActionFrame.State
int State
Definition
ActionFrame.cs:78
System.Xml.Xsl.XsltOld.ActionFrame.StoredOutput
string StoredOutput
Definition
ActionFrame.cs:66
System.Xml.Xsl.XsltOld.ActionFrame.Finished
void Finished()
Definition
ActionFrame.cs:209
System.Xml.Xsl.XsltOld.ActionFrame
Definition
ActionFrame.cs:10
System.Xml.Xsl.XsltOld.Action
Definition
Action.cs:4
System.Xml.Xsl.XsltOld.BuiltInRuleTextAction.Execute
override void Execute(Processor processor, ActionFrame frame)
Definition
BuiltInRuleTextAction.cs:5
System.Xml.Xsl.XsltOld.BuiltInRuleTextAction
Definition
BuiltInRuleTextAction.cs:4
System.Xml.Xsl.XsltOld.Processor
Definition
Processor.cs:14
System.Xml.Xsl.XsltOld
Definition
IXsltDebugger.cs:1
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.ExceptionArgument.text
@ text
source
System.Private.Xml
System.Xml.Xsl.XsltOld
BuiltInRuleTextAction.cs
Generated by
1.10.0