mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-02 06:26:35 +08:00
调整了Library文件结构;
源代码生成新增了参数验证方法; 修改了ParamterDetails的定义
This commit is contained in:
13
Library/Api/IEnumConvertor.cs
Normal file
13
Library/Api/IEnumConvertor.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace Serein.Library.Api
|
||||
{
|
||||
/// <summary>
|
||||
/// 枚举转换器接口
|
||||
/// </summary>
|
||||
/// <typeparam name="TEnum"></typeparam>
|
||||
/// <typeparam name="TValue"></typeparam>
|
||||
public interface IEnumConvertor<TEnum, TValue>
|
||||
{
|
||||
TValue Convertor(TEnum e);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user