#region Copyright (c) Microsoft Corporation /// /// Copyright (c) Microsoft Corporation. All Rights Reserved. /// Information Contained Herein is Proprietary and Confidential. /// #endregion using System; 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; } } } }