NamespaceMapping.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 / xsp / System / Extensions / Compilation / WCFModel / NamespaceMapping.cs / 1305376 / NamespaceMapping.cs

                            //------------------------------------------------------------------------------ 
// 
//   Copyright (C) Microsoft Corporation. All Rights Reserved.
// 
//----------------------------------------------------------------------------- 

 
using System; 
using System.Collections.Generic;
using System.IO; 
using System.Text;
using System.Xml;
using System.Xml.Schema;
using XmlSerialization = System.Xml.Serialization; 

#if WEB_EXTENSIONS_CODE 
namespace System.Web.Compilation.WCFModel 
#else
namespace Microsoft.VSDesigner.WCFModel 
#endif
{
    /// 
    /// mapping between metadata namespace and CLR namespace 
    /// 
    ///  
#if WEB_EXTENSIONS_CODE 
    internal class NamespaceMapping
#else 
    [CLSCompliant(true)]
    public class NamespaceMapping
#endif
    { 
        private string m_TargetNamespace;
        private string m_ClrNamespace; 
 
        /// 
        /// Target Namespace 
        /// 
        /// 
        /// 
        [XmlSerialization.XmlAttribute()] 
        public string TargetNamespace {
            get { 
                return m_TargetNamespace; 
            }
            set { 
                m_TargetNamespace = value;
            }
        }
 
        /// 
        /// Clr Namespace 
        ///  
        /// 
        ///  
        [XmlSerialization.XmlAttribute()]
        public string ClrNamespace {
            get {
                return m_ClrNamespace; 
            }
            set { 
                m_ClrNamespace = value; 
            }
        } 

    }
}
 

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

 
using System; 
using System.Collections.Generic;
using System.IO; 
using System.Text;
using System.Xml;
using System.Xml.Schema;
using XmlSerialization = System.Xml.Serialization; 

#if WEB_EXTENSIONS_CODE 
namespace System.Web.Compilation.WCFModel 
#else
namespace Microsoft.VSDesigner.WCFModel 
#endif
{
    /// 
    /// mapping between metadata namespace and CLR namespace 
    /// 
    ///  
#if WEB_EXTENSIONS_CODE 
    internal class NamespaceMapping
#else 
    [CLSCompliant(true)]
    public class NamespaceMapping
#endif
    { 
        private string m_TargetNamespace;
        private string m_ClrNamespace; 
 
        /// 
        /// Target Namespace 
        /// 
        /// 
        /// 
        [XmlSerialization.XmlAttribute()] 
        public string TargetNamespace {
            get { 
                return m_TargetNamespace; 
            }
            set { 
                m_TargetNamespace = value;
            }
        }
 
        /// 
        /// Clr Namespace 
        ///  
        /// 
        ///  
        [XmlSerialization.XmlAttribute()]
        public string ClrNamespace {
            get {
                return m_ClrNamespace; 
            }
            set { 
                m_ClrNamespace = value; 
            }
        } 

    }
}
 

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