XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEExtension.NetCore.AutoImplement

【DLL】自动生成实现类

公开
关注 0 Fork 0 Star 0
UTF-8
namespace XFEExtension.NetCore.AutoImplement;

/// <summary>
/// 创建一个类的实现类
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class CreateImpl : Attribute
{
    public string? ClassName { get; set; }
    public string? NameSpace { get; set; }
    public string[]? Modifiers { get; set; }
    public CreateImpl() { }
    public CreateImpl(string className)
    {
        ClassName = className;
    }
}