mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* XmlSerializer: Serialize() method Partially Implemented. svn path=/trunk/mcs/; revision=5478
62 lines
1011 B
C#
62 lines
1011 B
C#
//
|
|
// SoapAttributeAttribute.cs:
|
|
//
|
|
// Author:
|
|
// John Donagher ([email protected])
|
|
//
|
|
// (C) 2002 John Donagher
|
|
//
|
|
|
|
using System;
|
|
|
|
namespace System.Xml.Serialization
|
|
{
|
|
/// <summary>
|
|
/// Summary description for SoapAttributeAttribute.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field
|
|
| AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
|
|
public class SoapAttributeAttribute : Attribute
|
|
{
|
|
private string attrName;
|
|
private string dataType;
|
|
private string ns;
|
|
|
|
public SoapAttributeAttribute ()
|
|
{
|
|
}
|
|
|
|
public SoapAttributeAttribute (string attrName)
|
|
{
|
|
AttributeName = attrName;
|
|
}
|
|
|
|
public string AttributeName {
|
|
get {
|
|
return attrName;
|
|
}
|
|
set {
|
|
attrName = value;
|
|
}
|
|
}
|
|
|
|
public string DataType {
|
|
get {
|
|
return dataType;
|
|
}
|
|
set {
|
|
dataType = value;
|
|
}
|
|
}
|
|
|
|
public string Namespace {
|
|
get {
|
|
return ns;
|
|
}
|
|
set {
|
|
ns = value;
|
|
}
|
|
}
|
|
}
|
|
}
|