补充了Library的注释

This commit is contained in:
fengjiayi
2024-10-11 19:31:34 +08:00
parent aa85c907a3
commit 5bef0d9b57
27 changed files with 202 additions and 239 deletions

View File

@@ -1249,11 +1249,11 @@ namespace Serein.NodeFlow
{
return sereinIOC.Get<T>(key);
}
void ISereinIOC.CustomRegisterInstance(string key, object instance, bool needInjectProperty)
bool ISereinIOC.CustomRegisterInstance(string key, object instance, bool needInjectProperty)
{
sereinIOC.CustomRegisterInstance(key, instance, needInjectProperty);
return sereinIOC.CustomRegisterInstance(key, instance, needInjectProperty);
}
object ISereinIOC.Instantiate(Type type)

View File

@@ -415,7 +415,7 @@ namespace Serein.NodeFlow
catch(FlipflopException ex)
{
await Console.Out.WriteLineAsync($"触发器[{singleFlipFlopNode.MethodDetails.MethodName}]因非预期异常终止。"+ex.Message);
if (ex.Clsss == FlipflopException.CancelClass.Flow)
if (ex.Type == FlipflopException.CancelClass.Flow)
{
break;
}

View File

@@ -55,7 +55,7 @@ namespace Serein.NodeFlow.Model
}
catch (FlipflopException ex)
{
if(ex.Clsss == FlipflopException.CancelClass.Flow)
if(ex.Type == FlipflopException.CancelClass.Flow)
{
throw;
}