Updated Dependency to accept DependencyName as parameter
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -22,7 +22,8 @@ public enum UnzipProgressType
|
||||
public enum InternalActionRunType
|
||||
{
|
||||
ON_STARTUP,
|
||||
ON_CALL
|
||||
ON_CALL,
|
||||
BOTH
|
||||
}
|
||||
|
||||
[Flags]
|
||||
|
||||
Reference in New Issue
Block a user