Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XmlSchemaSimpleContentRestriction.cs
Go to the documentation of this file.
1
using
System.Xml.Serialization
;
2
3
namespace
System.Xml.Schema
;
4
5
public
class
XmlSchemaSimpleContentRestriction
:
XmlSchemaContent
6
{
7
private
XmlQualifiedName
_baseTypeName
=
XmlQualifiedName
.
Empty
;
8
9
private
XmlSchemaSimpleType
_baseType
;
10
11
private
readonly
XmlSchemaObjectCollection
_facets
=
new
XmlSchemaObjectCollection
();
12
13
private
XmlSchemaObjectCollection
_attributes
=
new
XmlSchemaObjectCollection
();
14
15
private
XmlSchemaAnyAttribute
_anyAttribute
;
16
17
[
XmlAttribute
(
"base"
)]
18
public
XmlQualifiedName
BaseTypeName
19
{
20
get
21
{
22
return
_baseTypeName
;
23
}
24
set
25
{
26
_baseTypeName
= ((
value
==
null
) ?
XmlQualifiedName
.
Empty
:
value
);
27
}
28
}
29
30
[
XmlElement
(
"simpleType"
,
typeof
(
XmlSchemaSimpleType
))]
31
public
XmlSchemaSimpleType
?
BaseType
32
{
33
get
34
{
35
return
_baseType
;
36
}
37
set
38
{
39
_baseType
=
value
;
40
}
41
}
42
43
[
XmlElement
(
"length"
,
typeof
(
XmlSchemaLengthFacet
))]
44
[
XmlElement
(
"minLength"
,
typeof
(
XmlSchemaMinLengthFacet
))]
45
[
XmlElement
(
"maxLength"
,
typeof
(
XmlSchemaMaxLengthFacet
))]
46
[
XmlElement
(
"pattern"
,
typeof
(
XmlSchemaPatternFacet
))]
47
[
XmlElement
(
"enumeration"
,
typeof
(
XmlSchemaEnumerationFacet
))]
48
[
XmlElement
(
"maxInclusive"
,
typeof
(
XmlSchemaMaxInclusiveFacet
))]
49
[
XmlElement
(
"maxExclusive"
,
typeof
(
XmlSchemaMaxExclusiveFacet
))]
50
[
XmlElement
(
"minInclusive"
,
typeof
(
XmlSchemaMinInclusiveFacet
))]
51
[
XmlElement
(
"minExclusive"
,
typeof
(
XmlSchemaMinExclusiveFacet
))]
52
[
XmlElement
(
"totalDigits"
,
typeof
(
XmlSchemaTotalDigitsFacet
))]
53
[
XmlElement
(
"fractionDigits"
,
typeof
(
XmlSchemaFractionDigitsFacet
))]
54
[
XmlElement
(
"whiteSpace"
,
typeof
(
XmlSchemaWhiteSpaceFacet
))]
55
public
XmlSchemaObjectCollection
Facets
=>
_facets
;
56
57
[
XmlElement
(
"attribute"
,
typeof
(
XmlSchemaAttribute
))]
58
[
XmlElement
(
"attributeGroup"
,
typeof
(
XmlSchemaAttributeGroupRef
))]
59
public
XmlSchemaObjectCollection
Attributes
=>
_attributes
;
60
61
[
XmlElement
(
"anyAttribute"
)]
62
public
XmlSchemaAnyAttribute
?
AnyAttribute
63
{
64
get
65
{
66
return
_anyAttribute
;
67
}
68
set
69
{
70
_anyAttribute
=
value
;
71
}
72
}
73
74
internal
void
SetAttributes
(
XmlSchemaObjectCollection
newAttributes
)
75
{
76
_attributes
=
newAttributes
;
77
}
78
}
System.Xml.Schema.XmlSchemaAnyAttribute
Definition
XmlSchemaAnyAttribute.cs:7
System.Xml.Schema.XmlSchemaAttributeGroupRef
Definition
XmlSchemaAttributeGroupRef.cs:7
System.Xml.Schema.XmlSchemaAttribute
Definition
XmlSchemaAttribute.cs:8
System.Xml.Schema.XmlSchemaContent
Definition
XmlSchemaContent.cs:4
System.Xml.Schema.XmlSchemaEnumerationFacet
Definition
XmlSchemaEnumerationFacet.cs:4
System.Xml.Schema.XmlSchemaFractionDigitsFacet
Definition
XmlSchemaFractionDigitsFacet.cs:4
System.Xml.Schema.XmlSchemaLengthFacet
Definition
XmlSchemaLengthFacet.cs:4
System.Xml.Schema.XmlSchemaMaxExclusiveFacet
Definition
XmlSchemaMaxExclusiveFacet.cs:4
System.Xml.Schema.XmlSchemaMaxInclusiveFacet
Definition
XmlSchemaMaxInclusiveFacet.cs:4
System.Xml.Schema.XmlSchemaMaxLengthFacet
Definition
XmlSchemaMaxLengthFacet.cs:4
System.Xml.Schema.XmlSchemaMinExclusiveFacet
Definition
XmlSchemaMinExclusiveFacet.cs:4
System.Xml.Schema.XmlSchemaMinInclusiveFacet
Definition
XmlSchemaMinInclusiveFacet.cs:4
System.Xml.Schema.XmlSchemaMinLengthFacet
Definition
XmlSchemaMinLengthFacet.cs:4
System.Xml.Schema.XmlSchemaObjectCollection
Definition
XmlSchemaObjectCollection.cs:6
System.Xml.Schema.XmlSchemaPatternFacet
Definition
XmlSchemaPatternFacet.cs:4
System.Xml.Schema.XmlSchemaSimpleContentRestriction.AnyAttribute
XmlSchemaAnyAttribute? AnyAttribute
Definition
XmlSchemaSimpleContentRestriction.cs:63
System.Xml.Schema.XmlSchemaSimpleContentRestriction._baseTypeName
XmlQualifiedName _baseTypeName
Definition
XmlSchemaSimpleContentRestriction.cs:7
System.Xml.Schema.XmlSchemaSimpleContentRestriction._anyAttribute
XmlSchemaAnyAttribute _anyAttribute
Definition
XmlSchemaSimpleContentRestriction.cs:15
System.Xml.Schema.XmlSchemaSimpleContentRestriction._facets
readonly XmlSchemaObjectCollection _facets
Definition
XmlSchemaSimpleContentRestriction.cs:11
System.Xml.Schema.XmlSchemaSimpleContentRestriction._baseType
XmlSchemaSimpleType _baseType
Definition
XmlSchemaSimpleContentRestriction.cs:9
System.Xml.Schema.XmlSchemaSimpleContentRestriction.SetAttributes
void SetAttributes(XmlSchemaObjectCollection newAttributes)
Definition
XmlSchemaSimpleContentRestriction.cs:74
System.Xml.Schema.XmlSchemaSimpleContentRestriction.Facets
XmlSchemaObjectCollection Facets
Definition
XmlSchemaSimpleContentRestriction.cs:55
System.Xml.Schema.XmlSchemaSimpleContentRestriction.BaseTypeName
XmlQualifiedName BaseTypeName
Definition
XmlSchemaSimpleContentRestriction.cs:19
System.Xml.Schema.XmlSchemaSimpleContentRestriction.Attributes
XmlSchemaObjectCollection Attributes
Definition
XmlSchemaSimpleContentRestriction.cs:59
System.Xml.Schema.XmlSchemaSimpleContentRestriction.BaseType
XmlSchemaSimpleType? BaseType
Definition
XmlSchemaSimpleContentRestriction.cs:32
System.Xml.Schema.XmlSchemaSimpleContentRestriction._attributes
XmlSchemaObjectCollection _attributes
Definition
XmlSchemaSimpleContentRestriction.cs:13
System.Xml.Schema.XmlSchemaSimpleContentRestriction
Definition
XmlSchemaSimpleContentRestriction.cs:6
System.Xml.Schema.XmlSchemaSimpleType
Definition
XmlSchemaSimpleType.cs:6
System.Xml.Schema.XmlSchemaTotalDigitsFacet
Definition
XmlSchemaTotalDigitsFacet.cs:4
System.Xml.Schema.XmlSchemaWhiteSpaceFacet
Definition
XmlSchemaWhiteSpaceFacet.cs:4
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
XmlSchemaSimpleContentRestriction.cs
Generated by
1.10.0