You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
856 B
37 lines
856 B
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) |
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt) |
|
|
|
using System; |
|
using System.Text; |
|
|
|
namespace ICSharpCode.MSTest |
|
{ |
|
public class MSTestApplicationCommandLine |
|
{ |
|
StringBuilder commandLine = new StringBuilder(); |
|
|
|
public MSTestApplicationCommandLine() |
|
{ |
|
} |
|
|
|
public void Append(string argument, string value) |
|
{ |
|
AppendFormat("/{0}:{1} ", argument, value); |
|
} |
|
|
|
public void AppendQuoted(string argument, string value) |
|
{ |
|
AppendFormat("/{0}:\"{1}\" ", argument, value); |
|
} |
|
|
|
void AppendFormat(string format, string argument, string value) |
|
{ |
|
commandLine.AppendFormat(format, argument, value); |
|
} |
|
|
|
public override string ToString() |
|
{ |
|
return commandLine.ToString(); |
|
} |
|
} |
|
}
|
|
|