Advanced Software Engineering
Advanced_Software_Engineering.CommandAndParameterParserResult Class Reference

This class is a direct replacement to the dictionaries that were returned by HelperFunctions.CommandAndParameterParser(string). This class provides better intraface to the output. More...

Public Member Functions

 CommandAndParameterParserResult (string command, string[] parameters)
 Generates a new Result More...
 
string GetCommand ()
 Gets the command from the result More...
 
string[] GetParameters ()
 Gets the command parameters More...
 

Detailed Description

This class is a direct replacement to the dictionaries that were returned by HelperFunctions.CommandAndParameterParser(string). This class provides better intraface to the output.

Constructor & Destructor Documentation

◆ CommandAndParameterParserResult()

Advanced_Software_Engineering.CommandAndParameterParserResult.CommandAndParameterParserResult ( string  command,
string[]  parameters 
)

Generates a new Result

Parameters
commandThe command
parametersThe parameters

Member Function Documentation

◆ GetCommand()

string Advanced_Software_Engineering.CommandAndParameterParserResult.GetCommand ( )

Gets the command from the result

Returns
the command

◆ GetParameters()

string [] Advanced_Software_Engineering.CommandAndParameterParserResult.GetParameters ( )

Gets the command parameters

Returns
command parameters

The documentation for this class was generated from the following file: