更改了dll参数类型,更改了流程执行,添加了异常分支处理

This commit is contained in:
fengjiayi
2024-09-09 16:42:01 +08:00
parent b33c9ba857
commit 10f9738a2c
18 changed files with 541 additions and 490 deletions

View File

@@ -105,7 +105,7 @@ public static class DelegateGenerator
return new ExplicitData
{
IsExplicitData = it.GetCustomAttribute(typeof(ExplicitAttribute)) is ExplicitAttribute,
IsExplicitData = it.HasDefaultValue,
Index = index,
ExplicitType = it.ParameterType,
ExplicitTypeName = explicitTypeName,

View File

@@ -1,14 +1,15 @@
using System.Collections.Concurrent;
using Serein.NodeFlow;
using Serein.NodeFlow.Model;
namespace Serein.NodeFlow.Tool
{
public class TcsSignalException : Exception
{
public FfState FfState { get; set; }
public FlowStateType FsState { get; set; }
public TcsSignalException(string? message) : base(message)
{
FfState = FfState.Cancel;
FsState = FlowStateType.Error;
}
}