mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-06 08:06:33 +08:00
1. 重新设计了Generate项目及相关特性的命名,避免与其他类型混淆。
2. 补充了部分注释。 3. 修改了删除容器节点时,容器内子节点未正确删除的问题。
This commit is contained in:
@@ -8,9 +8,20 @@ namespace Serein.Library
|
||||
[AttributeUsage(AttributeTargets.Parameter)]
|
||||
public class BindConvertorAttribute : Attribute
|
||||
{
|
||||
/// <summary>
|
||||
/// 枚举类型
|
||||
/// </summary>
|
||||
public Type EnumType { get; }
|
||||
/// <summary>
|
||||
/// 转换器类型
|
||||
/// </summary>
|
||||
public Type ConvertorType { get; }
|
||||
|
||||
/// <summary>
|
||||
/// 绑定转换器特性
|
||||
/// </summary>
|
||||
/// <param name="enum"></param>
|
||||
/// <param name="convertor"></param>
|
||||
public BindConvertorAttribute(Type @enum, Type convertor)
|
||||
{
|
||||
EnumType = @enum;
|
||||
|
||||
Reference in New Issue
Block a user