mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
61 lines
1.0 KiB
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|