You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
86
external/referencesource/System.Web.Extensions/Compilation/WCFModel/ContractMapping.cs
vendored
Normal file
86
external/referencesource/System.Web.Extensions/Compilation/WCFModel/ContractMapping.cs
vendored
Normal file
@ -0,0 +1,86 @@
|
||||
#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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user