public object[] GetParametersForStep(StringStep stringStep) { var action = actionCatalog.GetAction(stringStep); object[] parametersForStep; if (IsListStep(action, stringStep)) parametersForStep = GetParametersForListStep(action, stringStep); else parametersForStep = GetParametersForStep(stringStep, action); AddDocStringParameter(parametersForStep, stringStep); return parametersForStep; }
private void RunStep(StringStep actionStep) { var info = ActionCatalog.GetAction(actionStep); if (actionStep is StringTableStep && !ShouldForEachOverStep(info)) { ForEachOverStep(actionStep as StringTableStep, info); } else { RunStep(info, () => ParameterConverter.GetParametersForStep(actionStep)); } }