ContractMapping.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / xsp / System / Web / Extensions / Compilation / WCFModel / ContractMapping.cs / 1 / ContractMapping.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
{
    ///  
    /// a contract type sharing record
    ///  
    ///  
#if WEB_EXTENSIONS_CODE
    internal class ContractMapping 
#else
    [CLSCompliant(true)]
    public class ContractMapping
#endif 
    {
        private string m_Name; 
        private string m_TargetNamespace; 
        private string m_TypeName;
 
        /// 
        /// type name in metadata
        /// 
        ///  
        /// 
        [XmlSerialization.XmlAttribute()] 
        public string Name { 
            get {
                return m_Name; 
            }
            set {
                m_Name = value;
            } 
        }
 
        ///  
        /// targetNamespace in metadata
        ///  
        /// 
        /// 
        [XmlSerialization.XmlAttribute()]
        public string TargetNamespace { 
            get {
                return m_TargetNamespace; 
            } 
            set {
                m_TargetNamespace = value; 
            }
        }

        ///  
        /// assembly qualified type name, or '-' which blocks type sharing
        ///  
        ///  
        /// 
        [XmlSerialization.XmlAttribute()] 
        public string TypeName {
            get {
                return m_TypeName;
            } 
            set {
                m_TypeName = 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
{
    ///  
    /// a contract type sharing record
    ///  
    ///  
#if WEB_EXTENSIONS_CODE
    internal class ContractMapping 
#else
    [CLSCompliant(true)]
    public class ContractMapping
#endif 
    {
        private string m_Name; 
        private string m_TargetNamespace; 
        private string m_TypeName;
 
        /// 
        /// type name in metadata
        /// 
        ///  
        /// 
        [XmlSerialization.XmlAttribute()] 
        public string Name { 
            get {
                return m_Name; 
            }
            set {
                m_Name = value;
            } 
        }
 
        ///  
        /// targetNamespace in metadata
        ///  
        /// 
        /// 
        [XmlSerialization.XmlAttribute()]
        public string TargetNamespace { 
            get {
                return m_TargetNamespace; 
            } 
            set {
                m_TargetNamespace = value; 
            }
        }

        ///  
        /// assembly qualified type name, or '-' which blocks type sharing
        ///  
        ///  
        /// 
        [XmlSerialization.XmlAttribute()] 
        public string TypeName {
            get {
                return m_TypeName;
            } 
            set {
                m_TypeName = 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