75 lines
1.6 KiB
C#
75 lines
1.6 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>
|
||
|
/// This class presents a single file referenced by a svcmap file
|
||
|
/// </summary>
|
||
|
/// <remarks></remarks>
|
||
|
#if WEB_EXTENSIONS_CODE
|
||
|
internal class Parameter
|
||
|
#else
|
||
|
[CLSCompliant(true)]
|
||
|
public class Parameter
|
||
|
#endif
|
||
|
{
|
||
|
private string m_Name;
|
||
|
private string m_Value;
|
||
|
|
||
|
public Parameter()
|
||
|
{
|
||
|
m_Name = string.Empty;
|
||
|
m_Value = string.Empty;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// Name in the storage
|
||
|
/// </summary>
|
||
|
/// <value></value>
|
||
|
/// <remarks></remarks>
|
||
|
[XmlSerialization.XmlAttribute()]
|
||
|
public string Name
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
return m_Name;
|
||
|
}
|
||
|
set
|
||
|
{
|
||
|
m_Name = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// Name in the storage
|
||
|
/// </summary>
|
||
|
/// <value></value>
|
||
|
/// <remarks></remarks>
|
||
|
[XmlSerialization.XmlAttribute()]
|
||
|
public string Value
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
return m_Value;
|
||
|
}
|
||
|
set
|
||
|
{
|
||
|
m_Value = value;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|