Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Text
string
? System.Security.SecurityElement.Text
get
set
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
}
System.Security.SecurityElement.IsValidText
static bool IsValidText([NotNullWhen(true)] string? text)
Definition
SecurityElement.cs:299
System.Security.SecurityElement._text
string _text
Definition
SecurityElement.cs:11
System.Xml.ExceptionType.ArgumentException
@ ArgumentException
System.ExceptionArgument.value
@ value
System.UnescapeMode.Unescape
@ Unescape
System
Security
SecurityElement
Generated by
1.10.0