2021-11-23 13:20:07 +08:00
|
|
|
|
2020-05-21 08:32:52 +08:00
|
|
|
|
2021-11-23 13:20:07 +08:00
|
|
|
using System;
|
2020-05-21 08:32:52 +08:00
|
|
|
|
2021-12-24 13:33:09 +08:00
|
|
|
namespace XCharts.Editor
|
2020-05-21 08:32:52 +08:00
|
|
|
{
|
2021-11-23 13:20:07 +08:00
|
|
|
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
|
|
|
|
|
public sealed class ComponentEditorAttribute : Attribute
|
2020-05-21 08:32:52 +08:00
|
|
|
{
|
2021-11-23 13:20:07 +08:00
|
|
|
public readonly Type componentType;
|
|
|
|
|
|
|
|
|
|
public ComponentEditorAttribute(Type componentType)
|
2020-05-21 08:32:52 +08:00
|
|
|
{
|
2021-11-23 13:20:07 +08:00
|
|
|
this.componentType = componentType;
|
2020-05-21 08:32:52 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|