namespace GFramework.Core.SourceGenerators.Abstractions.Architectures;
///
/// 声明架构模块需要自动注册的工具类型。
///
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
public sealed class RegisterUtilityAttribute(Type utilityType) : Attribute
{
///
/// 获取要注册的工具类型。
///
public Type UtilityType { get; } = utilityType;
}