Removed "Command'X'" naming convention.
Added basis verb-like naming convention.
I changed the naming convention and altered the commands offered to make the console program demonstrate more realistic scenarios. They are still very basic, however.
[Description("Take the int and double and adds them together.")]
[Parameters("<int> int1, <double1> double1")]
[Usage("CW_Console> Command5 31 25.4")]
publicstaticstringCommand5(intint1,doubledouble1)=>$"Command5 has completed... {int1} and {double1} was entered and make {int1 + double1} when added together";
[ListCommand()]
[ListCommand()]
[Description("Terminates the program.")]
[Description("Terminates the program.")]
@ -72,34 +66,28 @@ namespace CW_Console
*/
*/
[ListCommand(false)]// change to true or delete "false" for it to show at run-time.
[ListCommand(false)]// change to true or delete "false" for it to show at run-time.
[Description("Alias for Command1. See Command1 for details.")]
[Description("Alias for \"Test\". See \"Test\" for details.")]
[Parameters("None")]
[Usage("CW_Console> c1")]
publicstaticstringc1()=>Command1();
[ListCommand(false)]
[Description("Alias for Command2. See Command2 for details.")]