AffineThreadPool now uses standard semaphores in Windows builds; command line parser is satisfied with an IList of arguments instead of requiring a concrete List instance; added NCrunch XML file to svn:ignore list
git-svn-id: file:///srv/devel/repo-conversion/nusu@222 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
1a215987ac
commit
54d82e9659
4 changed files with 19 additions and 5 deletions
|
@ -99,13 +99,13 @@ namespace Nuclex.Support.Parsing {
|
|||
|
||||
/// <summary>Initializes a new command line</summary>
|
||||
/// <param name="argumentList">List containing the parsed arguments</param>
|
||||
private CommandLine(List<Argument> argumentList) :
|
||||
private CommandLine(IList<Argument> argumentList) :
|
||||
this(argumentList, WindowsModeDefault) { }
|
||||
|
||||
/// <summary>Initializes a new command line</summary>
|
||||
/// <param name="argumentList">List containing the parsed arguments</param>
|
||||
/// <param name="windowsMode">Whether the / character initiates an argument</param>
|
||||
private CommandLine(List<Argument> argumentList, bool windowsMode) {
|
||||
private CommandLine(IList<Argument> argumentList, bool windowsMode) {
|
||||
this.arguments = argumentList;
|
||||
this.windowsMode = windowsMode;
|
||||
}
|
||||
|
@ -298,7 +298,7 @@ namespace Nuclex.Support.Parsing {
|
|||
}
|
||||
|
||||
/// <summary>Options that were specified on the command line</summary>
|
||||
private List<Argument> arguments;
|
||||
private IList<Argument> arguments;
|
||||
/// <summary>Whether the / character initiates an argument</summary>
|
||||
private bool windowsMode;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue