Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Key.cs
Go to the documentation of this file.
1using System.Text;
3
4namespace System.Xml.Xsl.Xslt;
5
6internal sealed class Key : XslNode
7{
8 public readonly string Match;
9
10 public readonly string Use;
11
13
14 public Key(QilName name, string match, string use, XslVersion xslVer)
15 : base(XslNodeType.Key, name, null, xslVer)
16 {
17 Match = match;
18 Use = use;
19 }
20
21 public string GetDebugName()
22 {
24 stringBuilder.Append("<xsl:key name=\"");
26 stringBuilder.Append('"');
27 if (Match != null)
28 {
29 stringBuilder.Append(" match=\"");
30 stringBuilder.Append(Match);
31 stringBuilder.Append('"');
32 }
33 if (Use != null)
34 {
35 stringBuilder.Append(" use=\"");
36 stringBuilder.Append(Use);
37 stringBuilder.Append('"');
38 }
39 stringBuilder.Append('>');
40 return stringBuilder.ToString();
41 }
42}
readonly string Match
Definition Key.cs:8
string GetDebugName()
Definition Key.cs:21
Key(QilName name, string match, string use, XslVersion xslVer)
Definition Key.cs:14
QilFunction Function
Definition Key.cs:12
readonly string Use
Definition Key.cs:10
readonly QilName Name
Definition XslNode.cs:14