e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
87 lines
2.0 KiB
C#
87 lines
2.0 KiB
C#
#region Copyright (c) Microsoft Corporation
|
|
/// <copyright company='Microsoft Corporation'>
|
|
/// Copyright (c) Microsoft Corporation. All Rights Reserved.
|
|
/// Information Contained Herein is Proprietary and Confidential.
|
|
/// </copyright>
|
|
#endregion
|
|
|
|
using System;
|
|
using XmlSerialization = System.Xml.Serialization;
|
|
|
|
#if WEB_EXTENSIONS_CODE
|
|
namespace System.Web.Compilation.WCFModel
|
|
#else
|
|
namespace Microsoft.VSDesigner.WCFModel
|
|
#endif
|
|
{
|
|
/// <summary>
|
|
/// a contract type sharing record
|
|
/// </summary>
|
|
/// <remarks></remarks>
|
|
#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;
|
|
|
|
/// <summary>
|
|
/// type name in metadata
|
|
/// </summary>
|
|
/// <value></value>
|
|
/// <remarks></remarks>
|
|
[XmlSerialization.XmlAttribute()]
|
|
public string Name
|
|
{
|
|
get
|
|
{
|
|
return m_Name;
|
|
}
|
|
set
|
|
{
|
|
m_Name = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// targetNamespace in metadata
|
|
/// </summary>
|
|
/// <value></value>
|
|
/// <remarks></remarks>
|
|
[XmlSerialization.XmlAttribute()]
|
|
public string TargetNamespace
|
|
{
|
|
get
|
|
{
|
|
return m_TargetNamespace;
|
|
}
|
|
set
|
|
{
|
|
m_TargetNamespace = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// assembly qualified type name, or '-' which blocks type sharing
|
|
/// </summary>
|
|
/// <value></value>
|
|
/// <remarks></remarks>
|
|
[XmlSerialization.XmlAttribute()]
|
|
public string TypeName
|
|
{
|
|
get
|
|
{
|
|
return m_TypeName;
|
|
}
|
|
set
|
|
{
|
|
m_TypeName = value;
|
|
}
|
|
}
|
|
}
|
|
}
|