private void AddCommandAndArguments(IList <string> arguments) { arguments.AddConditionally( !CommandExecutable.Equals(Default.CommandExecutable, StringComparison.OrdinalIgnoreCase), CommandExecutable); arguments.AddConditionally( CommandArguments.Any(), string.Join(" ", CommandArguments)); }