DragonECS-AutoInjections/src/AutoRunners/BindWithRunnerAttribute.cs

14 lines
341 B
C#
Raw Normal View History

2025-03-14 16:53:33 +08:00
#if DISABLE_DEBUG
#undef DEBUG
#endif
using System;
2024-02-25 17:36:33 +08:00
[AttributeUsage(AttributeTargets.Interface, Inherited = false, AllowMultiple = false)]
2024-03-02 18:33:49 +08:00
public sealed class BindWithRunnerAttribute : Attribute
2024-02-25 17:36:33 +08:00
{
public readonly Type runnerType;
public BindWithRunnerAttribute(Type runnerType)
{
this.runnerType = runnerType;
}
}