Files
mono/mcs/class/System.XML/System.Xml.Serialization/SoapElementAttribute.cs
T

61 lines
1.0 KiB
C#

//
// SoapElementAttribute.cs:
//
// Author:
// John Donagher ([email protected])
//
// (C) 2002 John Donagher
//
using System;
namespace System.Xml.Serialization
{
/// <summary>
/// Summary description for SoapElementAttribute.
/// </summary>
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field
| AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
public class SoapElementAttribute : Attribute
{
private string dataType;
private string elementName;
private bool isNullable;
public SoapElementAttribute ()
{
}
public SoapElementAttribute (string elementName)
{
ElementName = elementName;
}
public string DataType {
get {
return dataType;
}
set {
dataType = value;
}
}
public string ElementName {
get {
return elementName;
}
set {
elementName = value;
}
}
public bool IsNullable {
get {
return isNullable;
}
set {
isNullable = value;
}
}
}
}