Private
Public Access
Wrote further unit tests
This commit is contained in:
1 parent
0dcac3f12b
commit
79127c80d7
2 files changed
+88
-6
No files matched your search
@@ -13,6 +13,8 @@ namespace Advanced_Software_Engineering {
|
||||
|
||||
Dictionary<string, string[]> commandAndParameters = SettingsAndHelperFunctions.CommandAndParameterParser(fullCommand);
|
||||
|
||||
if (!commandAndParameters.Keys.Contains("command")) throw new Exception("There is no command to process");
|
||||
|
||||
string command = commandAndParameters["command"][0];
|
||||
string[] parameters = commandAndParameters.Keys.Contains("parameters") ? commandAndParameters["parameters"] : new string[] { };
|
||||
|
||||
|
||||
Reference in new issue
Block a user