using System;
namespace AdvancedInspector
{
///
/// Can only be placed a classed derived from FieldEditor, or a field/property taking a specific editor.
///
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public class FieldEditorAttribute : Attribute, IListAttribute
{
private string type = "";
///
/// Type's name of the FieldEditor to use.
///
public string Type
{
get { return type; }
}
public FieldEditorAttribute(string type)
{
this.type = type;
}
}
}