Files
XCharts/Editor/Attributes/SerieEditorAttribute.cs

15 lines
333 B
C#
Raw Normal View History

2021-11-23 13:20:07 +08:00
using System;
2021-12-24 13:33:09 +08:00
namespace XCharts.Editor
2021-01-11 08:54:28 +08:00
{
2021-11-23 13:20:07 +08:00
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class SerieEditorAttribute : Attribute
2021-01-11 08:54:28 +08:00
{
2021-11-23 13:20:07 +08:00
public readonly Type serieType;
public SerieEditorAttribute(Type serieType)
2021-01-11 08:54:28 +08:00
{
2021-11-23 13:20:07 +08:00
this.serieType = serieType;
2021-01-11 08:54:28 +08:00
}
}
}