NamespaceDecl.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / XsltOld / NamespaceDecl.cs / 1305376 / NamespaceDecl.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// [....] 
//-----------------------------------------------------------------------------
 
namespace System.Xml.Xsl.XsltOld { 
    using Res = System.Xml.Utils.Res;
    using System; 
    using System.Xml;

    internal class NamespaceDecl {
        private string        prefix; 
        private string        nsUri;
        private string        prevDefaultNsUri; 
        private NamespaceDecl next; 

        internal string Prefix { 
            get { return this.prefix; }
        }

        internal string Uri { 
            get { return this.nsUri; }
        } 
 
        internal string PrevDefaultNsUri {
            get { return this.prevDefaultNsUri; } 
        }

        internal NamespaceDecl Next {
            get { return this.next; } 
        }
 
        internal NamespaceDecl(string prefix, string nsUri, string prevDefaultNsUri, NamespaceDecl next) { 
            Init(prefix, nsUri, prevDefaultNsUri, next);
        } 

        internal void Init(string prefix, string nsUri, string prevDefaultNsUri, NamespaceDecl next) {
            this.prefix           = prefix;
            this.nsUri            = nsUri; 
            this.prevDefaultNsUri = prevDefaultNsUri;
            this.next             = next; 
        } 
    }
} 

// 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