Beispiel #1
0
 public IEnumerable<string> FormatCommandLine(string prefix, CommandLineArgumentStyle argumentStyle)
 {
     return argumentStyle == CommandLineArgumentStyle.SingleWithEqualsSignDelimiter
         ? FormatSingleCommandLineWithEqualsDelimiter(prefix)
         : FormatSeparatedCommandLine(prefix);
 }
Beispiel #2
0
 public IEnumerable <string> FormatCommandLine(string prefix, CommandLineArgumentStyle argumentStyle)
 {
     return(argumentStyle == CommandLineArgumentStyle.SingleWithEqualsSignDelimiter
         ? FormatSingleCommandLineWithEqualsDelimiter(prefix)
         : FormatSeparatedCommandLine(prefix));
 }
Beispiel #3
0
 public IEnumerable <string> FormatCommandLine(string prefix, CommandLineArgumentStyle argumentStyle)
 {
     return(new[] { prefix + Name });
 }
 public IEnumerable<string> FormatCommandLine(string prefix, CommandLineArgumentStyle argumentStyle)
 {
     return new[] {Value};
 }