先想到这吧

This commit is contained in:
fengjiayi
2024-09-25 22:20:23 +08:00
parent c67315990b
commit e81c527086
26 changed files with 362 additions and 446 deletions

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Serein.Library.Entity
{
// 每次发生调用的时候,将当前节点调用信息拷贝一份,
// 调用完成后释放?
// 参数信息
public class CallChainInfo
{
public List<string> CallGuid { get; }
public List<object[]> InvokeData { get; }
public List<object> ResultData { get; }
}
}

View File

@@ -19,6 +19,10 @@ namespace Serein.Library.Entity
/// 是否为显式参数(固定值/表达式)
/// </summary>
public bool IsExplicitData { get; set; }
/// <summary>
/// 是否为值转换器
/// </summary>
public bool IsEnumConvertor { get; set; }
///// <summary>
///// 显式类型
///// </summary>
@@ -45,7 +49,7 @@ namespace Serein.Library.Entity
public string DataValue { get; set; }
public string[] Items { get; set; }
public object[] Items { get; set; }
public ExplicitData Clone() => new ExplicitData()
{

View File

@@ -37,7 +37,7 @@ namespace Serein.Library.Entity
/// <summary>
/// 是否保护参数
/// </summary>
public bool IsProtectionParameter { get; set; }
public bool IsProtectionParameter { get; set; } = true;
/// <summary>
/// 作用实例的类型