Browse Source

Merge branch 'develop' into 'master'

1.0 release into master.

See merge request craig.oates/Console.Waterworks!1
master
Craig Oates 5 years ago
parent
commit
2e753771ab
  1. 8
      Console.Waterworks/Console.Waterworks/CoOrdinators/CoOrdinator.cs
  2. 4
      Console.Waterworks/Console.Waterworks/Properties/AssemblyInfo.cs

8
Console.Waterworks/Console.Waterworks/CoOrdinators/CoOrdinator.cs

@ -48,8 +48,8 @@ namespace Console.Waterworks.CoOrdinators
_logger.LogInfoMessage("Attempting to execute command.."); _logger.LogInfoMessage("Attempting to execute command..");
var result = _commSpec.ExecuteCommand(commandsNamespace, command, commandClasses, commandLibraries, _consoleSpec); var result = _commSpec.ExecuteCommand(commandsNamespace, command, commandClasses, commandLibraries, _consoleSpec);
_consoleSpec.WriteOutputToConsole(result); _consoleSpec.WriteOutputToConsole(result);
_logger.LogSuccessMessage("Command has been executed."); _logger.LogSuccessMessage("Command has been executed");
_logger.LogNoteMessage("An error message does not mean the command did not execute properly or sucessfully."); _logger.LogNoteMessage("An error message does not mean the command did not execute properly or sucessfully");
} }
catch (Exception ex) catch (Exception ex)
{ {
@ -57,7 +57,7 @@ namespace Console.Waterworks.CoOrdinators
_consoleSpec.WriteErrorMessage(ex.Message); _consoleSpec.WriteErrorMessage(ex.Message);
} }
_logger.LogInfoMessage("Resetting the console's formatting.."); _logger.LogInfoMessage("Resetting the console's formatting..");
_logger.LogNoteMessage("This is to make sure no error messages or one-off formating change corrupts the console environment."); _logger.LogNoteMessage("This is to make sure no error messages or one-off formating change corrupts the console environment");
_consoleSpec.ResetConsoleColour(); _consoleSpec.ResetConsoleColour();
_logger.LogSuccessMessage("Console's formating has been reset"); _logger.LogSuccessMessage("Console's formating has been reset");
} }
@ -75,7 +75,7 @@ namespace Console.Waterworks.CoOrdinators
} }
_logger.LogSuccessMessage("Found help information"); _logger.LogSuccessMessage("Found help information");
_logger.LogInfoMessage("Attempting to display the help information.."); _logger.LogInfoMessage("Attempting to display the help information..");
_consoleSpec.WriteOutputToConsole("Displaying Help section..."); _consoleSpec.WriteOutputToConsole("Displaying Help section..");
_consoleSpec.LineBreak(); _consoleSpec.LineBreak();
var commandMembers = _helpSpec.GetCommandMembers(commandClasses); var commandMembers = _helpSpec.GetCommandMembers(commandClasses);
foreach (var command in commandMembers) foreach (var command in commandMembers)

4
Console.Waterworks/Console.Waterworks/Properties/AssemblyInfo.cs

@ -32,7 +32,7 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.1.0.0")] [assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("0.1.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en-GB")] [assembly: NeutralResourcesLanguage("en-GB")]

Loading…
Cancel
Save