mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-02 14:36:33 +08:00
修改了IOC容器的实现,使其更加轻量
This commit is contained in:
@@ -246,7 +246,7 @@ namespace Serein.Library
|
||||
var type = EnumHelper.GetBoundValue(ExplicitType, resultEnum, attr => attr.Value);
|
||||
if (type is Type enumBindType && !(enumBindType is null))
|
||||
{
|
||||
var value = nodeModel.Env.IOC.Instantiate(enumBindType);
|
||||
var value = nodeModel.Env.IOC.CreateTempObject(enumBindType);
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user