//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // // [....] //------------------------------------------------------------------------------ namespace System.Xml.Schema { using System.Xml.Serialization; /// /// /// [To be supplied.] /// public class XmlSchemaRedefine : XmlSchemaExternal { XmlSchemaObjectCollection items = new XmlSchemaObjectCollection(); XmlSchemaObjectTable attributeGroups = new XmlSchemaObjectTable(); XmlSchemaObjectTable types = new XmlSchemaObjectTable(); XmlSchemaObjectTable groups = new XmlSchemaObjectTable(); /// /// /// [To be supplied.] /// public XmlSchemaRedefine() { Compositor = Compositor.Redefine; } /// /// /// [To be supplied.] /// [XmlElement("annotation", typeof(XmlSchemaAnnotation)), XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroup)), XmlElement("complexType", typeof(XmlSchemaComplexType)), XmlElement("group", typeof(XmlSchemaGroup)), XmlElement("simpleType", typeof(XmlSchemaSimpleType))] public XmlSchemaObjectCollection Items { get { return items; } } /// /// /// [To be supplied.] /// [XmlIgnore] public XmlSchemaObjectTable AttributeGroups { get { return attributeGroups; } } /// /// /// [To be supplied.] /// [XmlIgnore] public XmlSchemaObjectTable SchemaTypes { get { return types; } } /// /// /// [To be supplied.] /// [XmlIgnore] public XmlSchemaObjectTable Groups { get { return groups; } } internal override void AddAnnotation(XmlSchemaAnnotation annotation) { items.Add(annotation); } } }