2023-06-05 19:57:17 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace BITKit
|
|
|
|
|
{
|
|
|
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
|
|
|
public class BITCommandAttribute : Attribute { }
|
|
|
|
|
[AttributeUsage(AttributeTargets.Field)]
|
|
|
|
|
public class InjectAttribute : System.Attribute
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2023-10-06 23:43:19 +08:00
|
|
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = true, Inherited = true)]
|
|
|
|
|
public class CustomTypeAttribute : System.Attribute
|
|
|
|
|
{
|
|
|
|
|
public readonly Type Type;
|
|
|
|
|
public CustomTypeAttribute(Type type)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
Type = type;
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-06-05 19:57:17 +08:00
|
|
|
|
}
|