XmlSchemaExternal.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaExternal.cs / 1 / XmlSchemaExternal.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// [....] 
//-----------------------------------------------------------------------------
 
namespace System.Xml.Schema { 

    using System.Collections; 
    using System.ComponentModel;
    using System.Xml.Serialization;

    ///  
    public abstract class XmlSchemaExternal : XmlSchemaObject {
        string location; 
        Uri    baseUri; 
        XmlSchema schema;
        string id; 
        XmlAttribute[] moreAttributes;
        Compositor compositor;

        ///  
        [XmlAttribute("schemaLocation", DataType="anyURI")]
        public string SchemaLocation { 
            get { return location; } 
            set { location = value; }
        } 

        /// 
        [XmlIgnore]
        public XmlSchema Schema { 
            get { return schema; }
            set { schema = value; } 
        } 

        ///  
        [XmlAttribute("id", DataType="ID")]
        public string Id {
            get { return id; }
            set { id = value; } 
        }
 
        ///  
        [XmlAnyAttribute]
        public XmlAttribute[] UnhandledAttributes { 
            get { return moreAttributes; }
            set { moreAttributes = value; }
        }
 
        [XmlIgnore]
        internal Uri BaseUri { 
            get { return baseUri; } 
            set { baseUri = value; }
        } 

        [XmlIgnore]
        internal override string IdAttribute {
            get { return Id; } 
            set { Id = value; }
        } 
 
        internal override void SetUnhandledAttributes(XmlAttribute[] moreAttributes) {
            this.moreAttributes = moreAttributes; 
        }

        internal Compositor Compositor {
            get { 
                return compositor;
            } 
            set { 
                compositor = value;
            } 
        }
    }
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// [....] 
//-----------------------------------------------------------------------------
 
namespace System.Xml.Schema { 

    using System.Collections; 
    using System.ComponentModel;
    using System.Xml.Serialization;

    ///  
    public abstract class XmlSchemaExternal : XmlSchemaObject {
        string location; 
        Uri    baseUri; 
        XmlSchema schema;
        string id; 
        XmlAttribute[] moreAttributes;
        Compositor compositor;

        ///  
        [XmlAttribute("schemaLocation", DataType="anyURI")]
        public string SchemaLocation { 
            get { return location; } 
            set { location = value; }
        } 

        /// 
        [XmlIgnore]
        public XmlSchema Schema { 
            get { return schema; }
            set { schema = value; } 
        } 

        ///  
        [XmlAttribute("id", DataType="ID")]
        public string Id {
            get { return id; }
            set { id = value; } 
        }
 
        ///  
        [XmlAnyAttribute]
        public XmlAttribute[] UnhandledAttributes { 
            get { return moreAttributes; }
            set { moreAttributes = value; }
        }
 
        [XmlIgnore]
        internal Uri BaseUri { 
            get { return baseUri; } 
            set { baseUri = value; }
        } 

        [XmlIgnore]
        internal override string IdAttribute {
            get { return Id; } 
            set { Id = value; }
        } 
 
        internal override void SetUnhandledAttributes(XmlAttribute[] moreAttributes) {
            this.moreAttributes = moreAttributes; 
        }

        internal Compositor Compositor {
            get { 
                return compositor;
            } 
            set { 
                compositor = value;
            } 
        }
    }
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

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