Example #1
0
        private bool ActionExists(string actionId)
        {
            if (LoadedActions.ActionExists(actionId)) // GetParamValue(ActionParamNamesCore.Action, )
            {
                this.usedParameters = LoadedActions.GetActionParamNames(actionId);
                return(true);
            }

            return(false);
        }
Example #2
0
        private IAction <IActionResult> InitiateAction(string actionId)
        {
            if (string.IsNullOrEmpty(actionId))
            {
                return(null);
            }

            if (LoadedActions.ActionExists(actionId)) // GetParamValue(ActionParamNamesCore.Action, )
            {
                act = LoadedActions.GetAction(actionId, this);
                return(act);
            }
            return(null);
        }