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