Updated Dependency to accept DependencyName as parameter

This commit is contained in:
2024-06-07 21:01:10 +03:00
parent 1a5f0cbede
commit 9a8ddb5388
14 changed files with 152 additions and 83 deletions

View File

@@ -45,6 +45,12 @@ public class InternalActionManager
try
{
if (Actions[actionName].RunType == InternalActionRunType.ON_STARTUP)
{
Application.CurrentApplication.Logger.Log($"Action {actionName} is not executable", this, LogType.ERROR);
return false;
}
await Actions[actionName].Execute(args);
return true;
}