Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SoapElementAttribute.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
SoapElementAttribute
:
Attribute
7
{
8
private
string
_elementName
;
9
10
private
string
_dataType
;
11
12
private
bool
_nullable
;
13
14
public
string
ElementName
15
{
16
get
17
{
18
if
(
_elementName
!=
null
)
19
{
20
return
_elementName
;
21
}
22
return
string
.Empty;
23
}
24
[
param
:
AllowNull
]
25
set
26
{
27
_elementName
=
value
;
28
}
29
}
30
31
public
string
DataType
32
{
33
get
34
{
35
if
(
_dataType
!=
null
)
36
{
37
return
_dataType
;
38
}
39
return
string
.Empty;
40
}
41
[
param
:
AllowNull
]
42
set
43
{
44
_dataType
=
value
;
45
}
46
}
47
48
public
bool
IsNullable
49
{
50
get
51
{
52
return
_nullable
;
53
}
54
set
55
{
56
_nullable
=
value
;
57
}
58
}
59
60
public
SoapElementAttribute
()
61
{
62
}
63
64
public
SoapElementAttribute
(
string
? elementName)
65
{
66
_elementName
= elementName;
67
}
68
}
System.Attribute
Definition
Attribute.cs:12
System.Xml.Serialization.SoapElementAttribute.ElementName
string ElementName
Definition
SoapElementAttribute.cs:15
System.Xml.Serialization.SoapElementAttribute._dataType
string _dataType
Definition
SoapElementAttribute.cs:10
System.Xml.Serialization.SoapElementAttribute.IsNullable
bool IsNullable
Definition
SoapElementAttribute.cs:49
System.Xml.Serialization.SoapElementAttribute._nullable
bool _nullable
Definition
SoapElementAttribute.cs:12
System.Xml.Serialization.SoapElementAttribute.SoapElementAttribute
SoapElementAttribute(string? elementName)
Definition
SoapElementAttribute.cs:64
System.Xml.Serialization.SoapElementAttribute.SoapElementAttribute
SoapElementAttribute()
Definition
SoapElementAttribute.cs:60
System.Xml.Serialization.SoapElementAttribute.DataType
string DataType
Definition
SoapElementAttribute.cs:32
System.Xml.Serialization.SoapElementAttribute._elementName
string _elementName
Definition
SoapElementAttribute.cs:8
System.Xml.Serialization.SoapElementAttribute
Definition
SoapElementAttribute.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
SoapElementAttribute.cs
Generated by
1.10.0