XmlSchemaRedefine.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaRedefine.cs / 1 / XmlSchemaRedefine.cs

                            //------------------------------------------------------------------------------ 
// 
//     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);
        } 
    }
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.


                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK