Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XmlTypeAttribute.cs
Go to the documentation of this file.
1
using
System.Diagnostics.CodeAnalysis
;
2
3
namespace
System.Xml.Serialization
;
4
5
[
AttributeUsage
(
AttributeTargets
.Class |
AttributeTargets
.Struct |
AttributeTargets
.Enum |
AttributeTargets
.Interface)]
6
public
class
XmlTypeAttribute
:
Attribute
7
{
8
private
bool
_includeInSchema
=
true
;
9
10
private
bool
_anonymousType
;
11
12
private
string
_ns
;
13
14
private
string
_typeName
;
15
16
public
bool
AnonymousType
17
{
18
get
19
{
20
return
_anonymousType
;
21
}
22
set
23
{
24
_anonymousType
=
value
;
25
}
26
}
27
28
public
bool
IncludeInSchema
29
{
30
get
31
{
32
return
_includeInSchema
;
33
}
34
set
35
{
36
_includeInSchema
=
value
;
37
}
38
}
39
40
public
string
TypeName
41
{
42
get
43
{
44
if
(
_typeName
!=
null
)
45
{
46
return
_typeName
;
47
}
48
return
string
.Empty;
49
}
50
[
param
:
AllowNull
]
51
set
52
{
53
_typeName
=
value
;
54
}
55
}
56
57
public
string
?
Namespace
58
{
59
get
60
{
61
return
_ns
;
62
}
63
set
64
{
65
_ns
=
value
;
66
}
67
}
68
69
public
XmlTypeAttribute
()
70
{
71
}
72
73
public
XmlTypeAttribute
(
string
? typeName)
74
{
75
_typeName
= typeName;
76
}
77
}
System.Attribute
Definition
Attribute.cs:12
System.Xml.Serialization.XmlTypeAttribute.AnonymousType
bool AnonymousType
Definition
XmlTypeAttribute.cs:17
System.Xml.Serialization.XmlTypeAttribute.TypeName
string TypeName
Definition
XmlTypeAttribute.cs:41
System.Xml.Serialization.XmlTypeAttribute.IncludeInSchema
bool IncludeInSchema
Definition
XmlTypeAttribute.cs:29
System.Xml.Serialization.XmlTypeAttribute._typeName
string _typeName
Definition
XmlTypeAttribute.cs:14
System.Xml.Serialization.XmlTypeAttribute._includeInSchema
bool _includeInSchema
Definition
XmlTypeAttribute.cs:8
System.Xml.Serialization.XmlTypeAttribute._ns
string _ns
Definition
XmlTypeAttribute.cs:12
System.Xml.Serialization.XmlTypeAttribute.Namespace
string? Namespace
Definition
XmlTypeAttribute.cs:58
System.Xml.Serialization.XmlTypeAttribute._anonymousType
bool _anonymousType
Definition
XmlTypeAttribute.cs:10
System.Xml.Serialization.XmlTypeAttribute.XmlTypeAttribute
XmlTypeAttribute(string? typeName)
Definition
XmlTypeAttribute.cs:73
System.Xml.Serialization.XmlTypeAttribute.XmlTypeAttribute
XmlTypeAttribute()
Definition
XmlTypeAttribute.cs:69
System.Xml.Serialization.XmlTypeAttribute
Definition
XmlTypeAttribute.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.AttributeTargets
AttributeTargets
Definition
AttributeTargets.cs:5
source
System.Private.Xml
System.Xml.Serialization
XmlTypeAttribute.cs
Generated by
1.10.0