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

◆ Text

string? System.Security.SecurityElement.Text
getset

Definition at line 91 of file SecurityElement.cs.

92 {
93 get
94 {
95 return Unescape(_text);
96 }
97 set
98 {
99 if (value == null)
100 {
101 _text = null;
102 return;
103 }
104 if (!IsValidText(value))
105 {
106 throw new ArgumentException(SR.Format(SR.Argument_InvalidElementTag, value));
107 }
108 _text = value;
109 }
110 }
static bool IsValidText([NotNullWhen(true)] string? text)