Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ XmlFlags

XmlAttributeFlags System.Xml.Serialization.XmlAttributes.XmlFlags
getpackage

Definition at line 36 of file XmlAttributes.cs.

37 {
38 get
39 {
41 if (_xmlElements.Count > 0)
42 {
44 }
45 if (_xmlArrayItems.Count > 0)
46 {
48 }
49 if (_xmlAnyElements.Count > 0)
50 {
52 }
53 if (_xmlArray != null)
54 {
56 }
57 if (_xmlAttribute != null)
58 {
60 }
61 if (_xmlText != null)
62 {
64 }
65 if (_xmlEnum != null)
66 {
68 }
69 if (_xmlRoot != null)
70 {
72 }
73 if (_xmlType != null)
74 {
76 }
77 if (_xmlAnyAttribute != null)
78 {
80 }
81 if (_xmlChoiceIdentifier != null)
82 {
83 xmlAttributeFlags |= XmlAttributeFlags.ChoiceIdentifier;
84 }
85 if (_xmlns)
86 {
87 xmlAttributeFlags |= XmlAttributeFlags.XmlnsDeclarations;
88 }
89 return xmlAttributeFlags;
90 }
91 }
readonly XmlAnyElementAttributes _xmlAnyElements
readonly XmlArrayItemAttributes _xmlArrayItems
readonly XmlChoiceIdentifierAttribute _xmlChoiceIdentifier
readonly XmlElementAttributes _xmlElements
XmlAnyAttributeAttribute _xmlAnyAttribute

Referenced by System.Xml.Serialization.XmlReflectionImporter.ImportConstantMapping().