#region Arthea License
/***********************************************************************
* Arthea MUD by R. Jennings (2007) http://arthea.googlecode.com/ *
* By using this code you comply with the Artistic and GPLv2 Licenses. *
***********************************************************************/
#endregion
using System;
namespace Arthea.Creation.Attributes
{
/// <summary>
/// Implementation of custom edit attribute.
/// </summary>
public class CustomEditAttribute : Attribute
{
#region [rgn] Fields (1)
private readonly string method;
#endregion [rgn]
#region [rgn] Constructors (1)
/// <summary>
/// Initializes a new instance of the <see cref="CustomEditAttribute"/> class.
/// </summary>
/// <param name="method">The method.</param>
public CustomEditAttribute(string method)
{
this.method = method;
}
#endregion [rgn]
#region [rgn] Properties (1)
/// <summary>
/// Gets the method.
/// </summary>
/// <value>The method.</value>
public string Method
{
get { return method; }
}
#endregion [rgn]
}
}