UI update 02

This commit is contained in:
2026-06-30 21:21:30 +08:00
parent b2a1e307a4
commit f62f643cfc
1666 changed files with 211081 additions and 22799 deletions
@@ -0,0 +1,26 @@
using System;
namespace XCharts.Runtime
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class ComponentHandlerAttribute : Attribute
{
public readonly Type handler;
public readonly bool allowMultiple = true;
public readonly int order = 3;
public ComponentHandlerAttribute(Type handler, int order = 3)
{
this.handler = handler;
this.allowMultiple = true;
this.order = order;
}
public ComponentHandlerAttribute(Type handler, bool allowMultiple, int order = 3)
{
this.handler = handler;
this.allowMultiple = allowMultiple;
this.order = order;
}
}
}