Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XmlTextAttribute.cs
Go to the documentation of this file.
1
using
System.Diagnostics.CodeAnalysis
;
2
3
namespace
System.Xml.Serialization
;
4
5
[
AttributeUsage
(
AttributeTargets
.Property |
AttributeTargets
.Field |
AttributeTargets
.Parameter |
AttributeTargets
.ReturnValue)]
6
public
class
XmlTextAttribute
:
Attribute
7
{
8
private
Type
_type
;
9
10
private
string
_dataType
;
11
12
public
Type
?
Type
13
{
14
get
15
{
16
return
_type
;
17
}
18
set
19
{
20
_type
=
value
;
21
}
22
}
23
24
public
string
DataType
25
{
26
get
27
{
28
if
(
_dataType
!=
null
)
29
{
30
return
_dataType
;
31
}
32
return
string
.Empty;
33
}
34
[
param
:
AllowNull
]
35
set
36
{
37
_dataType
=
value
;
38
}
39
}
40
41
public
XmlTextAttribute
()
42
{
43
}
44
45
public
XmlTextAttribute
(
Type
?
type
)
46
{
47
_type
=
type
;
48
}
49
}
System.Attribute
Definition
Attribute.cs:12
System.Type
Definition
Type.cs:14
System.Xml.Serialization.XmlTextAttribute.DataType
string DataType
Definition
XmlTextAttribute.cs:25
System.Xml.Serialization.XmlTextAttribute._dataType
string _dataType
Definition
XmlTextAttribute.cs:10
System.Xml.Serialization.XmlTextAttribute.XmlTextAttribute
XmlTextAttribute()
Definition
XmlTextAttribute.cs:41
System.Xml.Serialization.XmlTextAttribute.XmlTextAttribute
XmlTextAttribute(Type? type)
Definition
XmlTextAttribute.cs:45
System.Xml.Serialization.XmlTextAttribute._type
Type _type
Definition
XmlTextAttribute.cs:8
System.Xml.Serialization.XmlTextAttribute
Definition
XmlTextAttribute.cs:7
System.Diagnostics.CodeAnalysis
Definition
AllowNullAttribute.cs:1
System.Xml.Serialization
Definition
DateTimeSerializationSection.cs:1
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.ExceptionArgument.value
@ value
System.ExceptionArgument.type
@ type
System.AttributeTargets
AttributeTargets
Definition
AttributeTargets.cs:5
source
System.Private.Xml
System.Xml.Serialization
XmlTextAttribute.cs
Generated by
1.10.0