Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XmlSchemaInfo.cs
Go to the documentation of this file.
1namespace System.Xml.Schema;
2
4{
5 private bool _isDefault;
6
7 private bool _isNil;
8
10
12
14
16
18
20
22 {
23 get
24 {
25 return _validity;
26 }
27 set
28 {
30 }
31 }
32
33 public bool IsDefault
34 {
35 get
36 {
37 return _isDefault;
38 }
39 set
40 {
42 }
43 }
44
45 public bool IsNil
46 {
47 get
48 {
49 return _isNil;
50 }
51 set
52 {
53 _isNil = value;
54 }
55 }
56
58 {
59 get
60 {
61 return _memberType;
62 }
63 set
64 {
66 }
67 }
68
70 {
71 get
72 {
73 return _schemaType;
74 }
75 set
76 {
78 if (_schemaType != null)
79 {
81 }
82 else
83 {
85 }
86 }
87 }
88
90 {
91 get
92 {
93 return _schemaElement;
94 }
95 set
96 {
98 if (value != null)
99 {
100 _schemaAttribute = null;
101 }
102 }
103 }
104
106 {
107 get
108 {
109 return _schemaAttribute;
110 }
111 set
112 {
114 if (value != null)
115 {
116 _schemaElement = null;
117 }
118 }
119 }
120
122 {
123 get
124 {
125 return _contentType;
126 }
127 set
128 {
130 }
131 }
132
134 {
135 get
136 {
137 if (_memberType != null)
138 {
139 return _memberType;
140 }
141 return _schemaType;
142 }
143 }
144
145 internal bool HasDefaultValue
146 {
147 get
148 {
149 if (_schemaElement != null)
150 {
152 }
153 return false;
154 }
155 }
156
157 internal bool IsUnionType
158 {
159 get
160 {
161 if (_schemaType == null || _schemaType.Datatype == null)
162 {
163 return false;
164 }
166 }
167 }
168
170 {
171 Clear();
172 }
173
175 : this()
176 {
178 }
179
180 internal void Clear()
181 {
182 _isNil = false;
183 _isDefault = false;
184 _schemaType = null;
185 _schemaElement = null;
186 _schemaAttribute = null;
187 _memberType = null;
188 _validity = XmlSchemaValidity.NotKnown;
190 }
191}
XmlSchemaAttribute? SchemaAttribute
XmlSchemaAttribute _schemaAttribute
XmlSchemaContentType ContentType
XmlSchemaContentType _contentType
XmlSchemaInfo(XmlSchemaValidity validity)
XmlSchemaSimpleType? MemberType
XmlSchemaSimpleType _memberType
XmlSchemaContentType SchemaContentType