mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
42 lines
592 B
C#
42 lines
592 B
C#
//
|
|
// XmlEnumAttribute.cs:
|
|
//
|
|
// Author:
|
|
// John Donagher ([email protected])
|
|
//
|
|
// (C) 2002 John Donagher
|
|
//
|
|
|
|
using System;
|
|
|
|
namespace System.Xml.Serialization
|
|
{
|
|
/// <summary>
|
|
/// Summary description for XmlEnumAttribute.
|
|
/// </summary>\
|
|
[AttributeUsage(AttributeTargets.Field)]
|
|
public class XmlEnumAttribute : Attribute
|
|
{
|
|
private string name;
|
|
|
|
public XmlEnumAttribute ()
|
|
{
|
|
}
|
|
|
|
public XmlEnumAttribute (string name)
|
|
{
|
|
Name = name;
|
|
}
|
|
|
|
public string Name {
|
|
get {
|
|
return name;
|
|
}
|
|
set {
|
|
name = value;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|