コード例 #1
0
    public static void RunExecCommands(IConsoleHost consoleHost, IReadOnlyList <string>?commands)
    {
        if (commands == null)
        {
            return;
        }

        foreach (var cmd in commands)
        {
            consoleHost.ExecuteCommand(cmd);
        }
    }