BITFALL/Assets/BITKit/Core/Attributes/IBITCommand.cs

23 lines
574 B
C#
Raw Normal View History

2023-08-12 01:43:24 +08:00
using System;
namespace BITKit
{
[AttributeUsage(AttributeTargets.Method)]
public class BITCommandAttribute : Attribute { }
[AttributeUsage(AttributeTargets.Field)]
public class InjectAttribute : System.Attribute
{
}
2023-10-02 23:24:56 +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-08-12 01:43:24 +08:00
}