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

◆ GetContainer()

XmlSchemaObject System.Xml.Schema.XsdBuilder.GetContainer ( State state)
inlineprivate

Definition at line 873 of file XsdBuilder.cs.

874 {
875 XmlSchemaObject result = null;
876 switch (state)
877 {
878 case State.Schema:
879 result = _schema;
880 break;
881 case State.Annotation:
882 result = _annotation;
883 break;
884 case State.Include:
885 result = _include;
886 break;
887 case State.Import:
888 result = _import;
889 break;
890 case State.Element:
891 result = _element;
892 break;
893 case State.Attribute:
894 result = _attribute;
895 break;
896 case State.AttributeGroup:
897 result = _attributeGroup;
898 break;
899 case State.AttributeGroupRef:
900 result = _attributeGroupRef;
901 break;
902 case State.AnyAttribute:
903 result = _anyAttribute;
904 break;
905 case State.Group:
906 result = _group;
907 break;
908 case State.GroupRef:
909 result = _groupRef;
910 break;
911 case State.All:
912 result = _all;
913 break;
914 case State.Choice:
915 result = _choice;
916 break;
917 case State.Sequence:
918 result = _sequence;
919 break;
920 case State.Any:
921 result = _anyElement;
922 break;
923 case State.Notation:
924 result = _notation;
925 break;
926 case State.SimpleType:
927 result = _simpleType;
928 break;
929 case State.ComplexType:
930 result = _complexType;
931 break;
932 case State.ComplexContent:
933 result = _complexContent;
934 break;
935 case State.ComplexContentExtension:
937 break;
938 case State.ComplexContentRestriction:
940 break;
941 case State.SimpleContent:
942 result = _simpleContent;
943 break;
944 case State.SimpleContentExtension:
946 break;
947 case State.SimpleContentRestriction:
949 break;
950 case State.SimpleTypeUnion:
951 result = _simpleTypeUnion;
952 break;
953 case State.SimpleTypeList:
954 result = _simpleTypeList;
955 break;
956 case State.SimpleTypeRestriction:
957 result = _simpleTypeRestriction;
958 break;
959 case State.Unique:
960 case State.Key:
961 case State.KeyRef:
962 result = _identityConstraint;
963 break;
964 case State.Selector:
965 case State.Field:
966 result = _xpath;
967 break;
968 case State.MinExclusive:
969 case State.MinInclusive:
970 case State.MaxExclusive:
971 case State.MaxInclusive:
972 case State.TotalDigits:
973 case State.FractionDigits:
974 case State.Length:
975 case State.MinLength:
976 case State.MaxLength:
977 case State.Enumeration:
978 case State.Pattern:
979 case State.WhiteSpace:
980 result = _facet;
981 break;
982 case State.AppInfo:
983 result = _appInfo;
984 break;
985 case State.Documentation:
986 result = _documentation;
987 break;
988 case State.Redefine:
989 result = _redefine;
990 break;
991 }
992 return result;
993 }
XmlSchemaAnnotation _annotation
XmlSchemaRedefine _redefine
XmlSchemaSimpleContentExtension _simpleContentExtension
XmlSchemaAttribute _attribute
XmlSchemaAnyAttribute _anyAttribute
XmlSchemaSimpleTypeList _simpleTypeList
readonly XmlSchema _schema
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._schema, 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, System.Xml.Schema.XmlSchemaIdentityConstraint.Selector, and System.state.

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