mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
重写了Emit构造委托的执行
This commit is contained in:
@@ -11,7 +11,7 @@ using System.Text.RegularExpressions;
|
||||
|
||||
namespace Serein.NodeFlow.Tool;
|
||||
|
||||
public static class MethodDetailsHelper
|
||||
public static class NodeMethodDetailsHelper
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
@@ -57,7 +57,7 @@ public static class MethodDetailsHelper
|
||||
public static (MethodDetails?, DelegateDetails?) CreateMethodDetails(Type type, MethodInfo method, string assemblyName)
|
||||
{
|
||||
var attribute = method.GetCustomAttribute<NodeActionAttribute>();
|
||||
if(attribute is null)
|
||||
if(attribute is null || attribute.Scan == false)
|
||||
{
|
||||
return (null, null);
|
||||
}
|
||||
Reference in New Issue
Block a user