private async Task <string> run_command_with_parameters_async(string[] parameters) { StringBuilder sb = new StringBuilder(); var sw = new StringWriter(sb); await ConsoleCommandDispatcher.DispatchCommandAsync( new ConsoleCommand[] { new CommandWithAtLeast2ParametersAsync(), new CommandWith2To5ParametersAsync() }, parameters, sw); return(sb.ToString()); }