SchemaNotation.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / SchemaNotation.cs / 1305376 / SchemaNotation.cs

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

    using System; 
    using System.Diagnostics;

    internal sealed class SchemaNotation {
        internal const int   SYSTEM = 0; 
        internal const int   PUBLIC = 1;
 
        private XmlQualifiedName  name; 
        private String systemLiteral;   // System literal
        private String pubid;    // pubid literal 

        internal SchemaNotation(XmlQualifiedName name) {
            this.name = name;
        } 

        internal XmlQualifiedName Name { 
            get { return name;} 
        }
 
        internal String SystemLiteral {
            get { return systemLiteral;}
            set { systemLiteral = value;}
        } 

        internal String Pubid { 
            get { return pubid;} 
            set { pubid = 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; 
    using System.Diagnostics;

    internal sealed class SchemaNotation {
        internal const int   SYSTEM = 0; 
        internal const int   PUBLIC = 1;
 
        private XmlQualifiedName  name; 
        private String systemLiteral;   // System literal
        private String pubid;    // pubid literal 

        internal SchemaNotation(XmlQualifiedName name) {
            this.name = name;
        } 

        internal XmlQualifiedName Name { 
            get { return name;} 
        }
 
        internal String SystemLiteral {
            get { return systemLiteral;}
            set { systemLiteral = value;}
        } 

        internal String Pubid { 
            get { return pubid;} 
            set { pubid = 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