mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-02 14:36:33 +08:00
优化了示例工程
This commit is contained in:
@@ -20,9 +20,9 @@ namespace Serein.Library.Entity
|
||||
/// </summary>
|
||||
public bool IsExplicitData { get; set; }
|
||||
/// <summary>
|
||||
/// 是否为值转换器
|
||||
/// 转换器 IEnumConvertor<,>
|
||||
/// </summary>
|
||||
public bool IsEnumConvertor { get; set; }
|
||||
public Func<object, object> Convertor { get; set; }
|
||||
///// <summary>
|
||||
///// 显式类型
|
||||
///// </summary>
|
||||
@@ -57,6 +57,7 @@ namespace Serein.Library.Entity
|
||||
IsExplicitData = IsExplicitData,
|
||||
ExplicitType = ExplicitType,
|
||||
ExplicitTypeName = ExplicitTypeName,
|
||||
Convertor = Convertor,
|
||||
DataType = DataType,
|
||||
ParameterName = ParameterName,
|
||||
DataValue = string.IsNullOrEmpty(DataValue) ? string.Empty : DataValue,
|
||||
|
||||
@@ -7,11 +7,13 @@ namespace Serein.Library.Entity
|
||||
{
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 每个节点有独自的MethodDetails实例
|
||||
/// </summary>
|
||||
public class MethodDetails
|
||||
{
|
||||
/// <summary>
|
||||
/// 拷贝
|
||||
/// 从DLL拖动出来时拷贝新的实例
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public MethodDetails Clone()
|
||||
@@ -37,7 +39,7 @@ namespace Serein.Library.Entity
|
||||
/// <summary>
|
||||
/// 是否保护参数
|
||||
/// </summary>
|
||||
public bool IsProtectionParameter { get; set; } = false;
|
||||
public bool IsProtectionParameter { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 作用实例的类型
|
||||
|
||||
Reference in New Issue
Block a user