Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XmlSchemaGroup.cs
Go to the documentation of this file.
1
using
System.Xml.Serialization
;
2
3
namespace
System.Xml.Schema
;
4
5
public
class
XmlSchemaGroup
:
XmlSchemaAnnotated
6
{
7
private
string
_name
;
8
9
private
XmlSchemaGroupBase
_particle
;
10
11
private
XmlSchemaParticle
_canonicalParticle
;
12
13
private
XmlQualifiedName
_qname
=
XmlQualifiedName
.
Empty
;
14
15
private
XmlSchemaGroup
_redefined
;
16
17
private
int
_selfReferenceCount
;
18
19
[
XmlAttribute
(
"name"
)]
20
public
string
?
Name
21
{
22
get
23
{
24
return
_name
;
25
}
26
set
27
{
28
_name
=
value
;
29
}
30
}
31
32
[
XmlElement
(
"choice"
,
typeof
(
XmlSchemaChoice
))]
33
[
XmlElement
(
"all"
,
typeof
(
XmlSchemaAll
))]
34
[
XmlElement
(
"sequence"
,
typeof
(
XmlSchemaSequence
))]
35
public
XmlSchemaGroupBase
?
Particle
36
{
37
get
38
{
39
return
_particle
;
40
}
41
set
42
{
43
_particle
=
value
;
44
}
45
}
46
47
[XmlIgnore]
48
public
XmlQualifiedName
QualifiedName
=>
_qname
;
49
50
[XmlIgnore]
51
internal
XmlSchemaParticle
?
CanonicalParticle
52
{
53
get
54
{
55
return
_canonicalParticle
;
56
}
57
set
58
{
59
_canonicalParticle
=
value
;
60
}
61
}
62
63
[XmlIgnore]
64
internal
XmlSchemaGroup
?
Redefined
65
{
66
get
67
{
68
return
_redefined
;
69
}
70
set
71
{
72
_redefined
=
value
;
73
}
74
}
75
76
[XmlIgnore]
77
internal
int
SelfReferenceCount
78
{
79
get
80
{
81
return
_selfReferenceCount
;
82
}
83
set
84
{
85
_selfReferenceCount
=
value
;
86
}
87
}
88
89
[XmlIgnore]
90
internal
override
string
?
NameAttribute
91
{
92
get
93
{
94
return
Name
;
95
}
96
set
97
{
98
Name
=
value
;
99
}
100
}
101
102
internal
void
SetQualifiedName
(
XmlQualifiedName
value
)
103
{
104
_qname
=
value
;
105
}
106
107
internal
override
XmlSchemaObject
Clone
()
108
{
109
return
Clone
(
null
);
110
}
111
112
internal
XmlSchemaObject
Clone
(
XmlSchema
parentSchema
)
113
{
114
XmlSchemaGroup
xmlSchemaGroup
= (
XmlSchemaGroup
)MemberwiseClone();
115
if
(
XmlSchemaComplexType
.
HasParticleRef
(
_particle
,
parentSchema
))
116
{
117
xmlSchemaGroup._particle
=
XmlSchemaComplexType
.
CloneParticle
(
_particle
,
parentSchema
)
as
XmlSchemaGroupBase
;
118
}
119
xmlSchemaGroup._canonicalParticle
=
XmlSchemaParticle
.
Empty
;
120
return
xmlSchemaGroup
;
121
}
122
}
System.Xml.Schema.XmlSchemaAll
Definition
XmlSchemaAll.cs:6
System.Xml.Schema.XmlSchemaAnnotated
Definition
XmlSchemaAnnotated.cs:6
System.Xml.Schema.XmlSchemaChoice
Definition
XmlSchemaChoice.cs:6
System.Xml.Schema.XmlSchemaComplexType.HasParticleRef
static bool HasParticleRef(XmlSchemaParticle particle, XmlSchema parentSchema)
Definition
XmlSchemaComplexType.cs:487
System.Xml.Schema.XmlSchemaComplexType.CloneParticle
static XmlSchemaParticle CloneParticle(XmlSchemaParticle particle, XmlSchema parentSchema)
Definition
XmlSchemaComplexType.cs:455
System.Xml.Schema.XmlSchemaComplexType
Definition
XmlSchemaComplexType.cs:8
System.Xml.Schema.XmlSchemaGroupBase
Definition
XmlSchemaGroupBase.cs:6
System.Xml.Schema.XmlSchemaGroup._selfReferenceCount
int _selfReferenceCount
Definition
XmlSchemaGroup.cs:17
System.Xml.Schema.XmlSchemaGroup._redefined
XmlSchemaGroup _redefined
Definition
XmlSchemaGroup.cs:15
System.Xml.Schema.XmlSchemaGroup._canonicalParticle
XmlSchemaParticle _canonicalParticle
Definition
XmlSchemaGroup.cs:11
System.Xml.Schema.XmlSchemaGroup.CanonicalParticle
XmlSchemaParticle? CanonicalParticle
Definition
XmlSchemaGroup.cs:52
System.Xml.Schema.XmlSchemaGroup.NameAttribute
override? string NameAttribute
Definition
XmlSchemaGroup.cs:91
System.Xml.Schema.XmlSchemaGroup.Name
string? Name
Definition
XmlSchemaGroup.cs:21
System.Xml.Schema.XmlSchemaGroup.SetQualifiedName
void SetQualifiedName(XmlQualifiedName value)
Definition
XmlSchemaGroup.cs:102
System.Xml.Schema.XmlSchemaGroup._particle
XmlSchemaGroupBase _particle
Definition
XmlSchemaGroup.cs:9
System.Xml.Schema.XmlSchemaGroup.Particle
XmlSchemaGroupBase? Particle
Definition
XmlSchemaGroup.cs:36
System.Xml.Schema.XmlSchemaGroup._name
string _name
Definition
XmlSchemaGroup.cs:7
System.Xml.Schema.XmlSchemaGroup._qname
XmlQualifiedName _qname
Definition
XmlSchemaGroup.cs:13
System.Xml.Schema.XmlSchemaGroup.QualifiedName
XmlQualifiedName QualifiedName
Definition
XmlSchemaGroup.cs:48
System.Xml.Schema.XmlSchemaGroup.Clone
XmlSchemaObject Clone(XmlSchema parentSchema)
Definition
XmlSchemaGroup.cs:112
System.Xml.Schema.XmlSchemaGroup.Clone
override XmlSchemaObject Clone()
Definition
XmlSchemaGroup.cs:107
System.Xml.Schema.XmlSchemaGroup.SelfReferenceCount
int SelfReferenceCount
Definition
XmlSchemaGroup.cs:78
System.Xml.Schema.XmlSchemaGroup.Redefined
XmlSchemaGroup? Redefined
Definition
XmlSchemaGroup.cs:65
System.Xml.Schema.XmlSchemaGroup
Definition
XmlSchemaGroup.cs:6
System.Xml.Schema.XmlSchemaObject
Definition
XmlSchemaObject.cs:6
System.Xml.Schema.XmlSchemaParticle.Empty
static readonly XmlSchemaParticle Empty
Definition
XmlSchemaParticle.cs:26
System.Xml.Schema.XmlSchemaParticle
Definition
XmlSchemaParticle.cs:6
System.Xml.Schema.XmlSchemaSequence
Definition
XmlSchemaSequence.cs:6
System.Xml.Schema.XmlSchema
Definition
XmlSchema.cs:12
System.Xml.XmlAttribute
Definition
XmlAttribute.cs:8
System.Xml.XmlElement
Definition
XmlElement.cs:8
System.Xml.XmlQualifiedName.Empty
static readonly XmlQualifiedName Empty
Definition
XmlQualifiedName.cs:13
System.Xml.XmlQualifiedName
Definition
XmlQualifiedName.cs:6
System.Xml.Schema
Definition
Extensions.cs:3
System.Xml.Serialization
Definition
DateTimeSerializationSection.cs:1
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.ExceptionArgument.value
@ value
source
System.Private.Xml
System.Xml.Schema
XmlSchemaGroup.cs
Generated by
1.10.0