mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
添加了 Action FlowCall 节点的代码生成支持
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Serein.Library
|
||||
/// 是否保护参数
|
||||
/// </summary>
|
||||
[PropertyInfo(IsNotification = true)]
|
||||
private bool _isProtectionParameter;
|
||||
private bool _isProtectionParameter = false;
|
||||
|
||||
/// <summary>
|
||||
/// 对应的节点
|
||||
|
||||
@@ -321,7 +321,14 @@ namespace Serein.Library.Utils
|
||||
var typeFullName = typeMapping.Key; // 注册的类型 FullName
|
||||
var type = typeMapping.Value; // 对应的Type。如果是以接口形式注册,typeFullName将是接口类的FullName,而type将是接口实现类。
|
||||
var constructors = GetConstructor(type); // 获取构造函数
|
||||
|
||||
if(constructors .Length == 0)
|
||||
{
|
||||
if (!dependencyMap[IOC_MAIN].Contains(type.FullName))
|
||||
{
|
||||
//dependencyMap[IOC_MAIN].Add(type.FullName);
|
||||
dependencyMap[IOC_MAIN].Add(typeFullName);
|
||||
}
|
||||
}
|
||||
foreach (var constructor in constructors)
|
||||
{
|
||||
if (constructor is null)
|
||||
|
||||
Reference in New Issue
Block a user