private void BuildStep(int step) { if (step == -1) { BuildHelper.DisplayLine("No steps selected."); OnStepSuccess(); return; } GUIElementData stepData = GuiData.Where(x => x.DataKey == "step" + step).FirstOrDefault(); BuildHelper.DisplayLine($"{stepData.Label}..."); stepData.ExecuteAction(stepData); }