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

◆ SetContainer()

void System.Xml.Schema.XsdBuilder.SetContainer ( State state,
object container )
inlineprivate

Definition at line 995 of file XsdBuilder.cs.

996 {
997 switch (state)
998 {
999 case State.Annotation:
1000 _annotation = (XmlSchemaAnnotation)container;
1001 break;
1002 case State.Include:
1003 _include = (XmlSchemaInclude)container;
1004 break;
1005 case State.Import:
1006 _import = (XmlSchemaImport)container;
1007 break;
1008 case State.Element:
1009 _element = (XmlSchemaElement)container;
1010 break;
1011 case State.Attribute:
1012 _attribute = (XmlSchemaAttribute)container;
1013 break;
1014 case State.AttributeGroup:
1015 _attributeGroup = (XmlSchemaAttributeGroup)container;
1016 break;
1017 case State.AttributeGroupRef:
1018 _attributeGroupRef = (XmlSchemaAttributeGroupRef)container;
1019 break;
1020 case State.AnyAttribute:
1021 _anyAttribute = (XmlSchemaAnyAttribute)container;
1022 break;
1023 case State.Group:
1024 _group = (XmlSchemaGroup)container;
1025 break;
1026 case State.GroupRef:
1027 _groupRef = (XmlSchemaGroupRef)container;
1028 break;
1029 case State.All:
1030 _all = (XmlSchemaAll)container;
1031 break;
1032 case State.Choice:
1033 _choice = (XmlSchemaChoice)container;
1034 break;
1035 case State.Sequence:
1036 _sequence = (XmlSchemaSequence)container;
1037 break;
1038 case State.Any:
1039 _anyElement = (XmlSchemaAny)container;
1040 break;
1041 case State.Notation:
1042 _notation = (XmlSchemaNotation)container;
1043 break;
1044 case State.SimpleType:
1045 _simpleType = (XmlSchemaSimpleType)container;
1046 break;
1047 case State.ComplexType:
1048 _complexType = (XmlSchemaComplexType)container;
1049 break;
1050 case State.ComplexContent:
1051 _complexContent = (XmlSchemaComplexContent)container;
1052 break;
1053 case State.ComplexContentExtension:
1054 _complexContentExtension = (XmlSchemaComplexContentExtension)container;
1055 break;
1056 case State.ComplexContentRestriction:
1057 _complexContentRestriction = (XmlSchemaComplexContentRestriction)container;
1058 break;
1059 case State.SimpleContent:
1060 _simpleContent = (XmlSchemaSimpleContent)container;
1061 break;
1062 case State.SimpleContentExtension:
1063 _simpleContentExtension = (XmlSchemaSimpleContentExtension)container;
1064 break;
1065 case State.SimpleContentRestriction:
1066 _simpleContentRestriction = (XmlSchemaSimpleContentRestriction)container;
1067 break;
1068 case State.SimpleTypeUnion:
1069 _simpleTypeUnion = (XmlSchemaSimpleTypeUnion)container;
1070 break;
1071 case State.SimpleTypeList:
1072 _simpleTypeList = (XmlSchemaSimpleTypeList)container;
1073 break;
1074 case State.SimpleTypeRestriction:
1075 _simpleTypeRestriction = (XmlSchemaSimpleTypeRestriction)container;
1076 break;
1077 case State.Unique:
1078 case State.Key:
1079 case State.KeyRef:
1080 _identityConstraint = (XmlSchemaIdentityConstraint)container;
1081 break;
1082 case State.Selector:
1083 case State.Field:
1084 _xpath = (XmlSchemaXPath)container;
1085 break;
1086 case State.MinExclusive:
1087 case State.MinInclusive:
1088 case State.MaxExclusive:
1089 case State.MaxInclusive:
1090 case State.TotalDigits:
1091 case State.FractionDigits:
1092 case State.Length:
1093 case State.MinLength:
1094 case State.MaxLength:
1095 case State.Enumeration:
1096 case State.Pattern:
1097 case State.WhiteSpace:
1098 _facet = (XmlSchemaFacet)container;
1099 break;
1100 case State.AppInfo:
1101 _appInfo = (XmlSchemaAppInfo)container;
1102 break;
1103 case State.Documentation:
1104 _documentation = (XmlSchemaDocumentation)container;
1105 break;
1106 case State.Redefine:
1107 _redefine = (XmlSchemaRedefine)container;
1108 break;
1109 case State.Root:
1110 case State.Schema:
1111 break;
1112 }
1113 }
XmlSchemaAnnotation _annotation
XmlSchemaRedefine _redefine
XmlSchemaSimpleContentExtension _simpleContentExtension
XmlSchemaAttribute _attribute
XmlSchemaAnyAttribute _anyAttribute
XmlSchemaSimpleTypeList _simpleTypeList
XmlSchemaAppInfo _appInfo
XmlSchemaComplexContent _complexContent
XmlSchemaComplexContentExtension _complexContentExtension
XmlSchemaAttributeGroup _attributeGroup
XmlSchemaSimpleContentRestriction _simpleContentRestriction
XmlSchemaNotation _notation
XmlSchemaSimpleTypeRestriction _simpleTypeRestriction
XmlSchemaSimpleTypeUnion _simpleTypeUnion
XmlSchemaSimpleContent _simpleContent
XmlSchemaIdentityConstraint _identityConstraint
XmlSchemaElement _element
XmlSchemaInclude _include
XmlSchemaAttributeGroupRef _attributeGroupRef
XmlSchemaDocumentation _documentation
XmlSchemaComplexType _complexType
XmlSchemaSequence _sequence
XmlSchemaGroupRef _groupRef
XmlSchemaSimpleType _simpleType
XmlSchemaComplexContentRestriction _complexContentRestriction

References System.Xml.Schema.XsdBuilder._all, System.Xml.Schema.XsdBuilder._annotation, System.Xml.Schema.XsdBuilder._anyAttribute, System.Xml.Schema.XsdBuilder._anyElement, System.Xml.Schema.XsdBuilder._appInfo, System.Xml.Schema.XsdBuilder._attribute, System.Xml.Schema.XsdBuilder._attributeGroup, System.Xml.Schema.XsdBuilder._attributeGroupRef, System.Xml.Schema.XsdBuilder._choice, System.Xml.Schema.XsdBuilder._complexContent, System.Xml.Schema.XsdBuilder._complexContentExtension, System.Xml.Schema.XsdBuilder._complexContentRestriction, System.Xml.Schema.XsdBuilder._complexType, System.Xml.Schema.XsdBuilder._documentation, System.Xml.Schema.XsdBuilder._element, System.Xml.Schema.XsdBuilder._facet, System.Xml.Schema.XsdBuilder._group, System.Xml.Schema.XsdBuilder._groupRef, System.Xml.Schema.XsdBuilder._identityConstraint, System.Xml.Schema.XsdBuilder._import, System.Xml.Schema.XsdBuilder._include, System.Xml.Schema.XsdBuilder._notation, System.Xml.Schema.XsdBuilder._redefine, System.Xml.Schema.XsdBuilder._sequence, System.Xml.Schema.XsdBuilder._simpleContent, System.Xml.Schema.XsdBuilder._simpleContentExtension, System.Xml.Schema.XsdBuilder._simpleContentRestriction, System.Xml.Schema.XsdBuilder._simpleType, System.Xml.Schema.XsdBuilder._simpleTypeList, System.Xml.Schema.XsdBuilder._simpleTypeRestriction, System.Xml.Schema.XsdBuilder._simpleTypeUnion, System.Xml.Schema.XsdBuilder._xpath, and System.state.

Referenced by System.Xml.Schema.XsdBuilder.Pop().