C# Class Tectil.NCommand.Utilities.StringCommandUtil

String command utility.
Exibir arquivo Open project: tectil/NCommand

Public Methods

Method Description
ParseCommand ( string command, string commandRegex, string argumentRegex, char trimKeyValues, bool ignoreCase ) : object>>.IEnumerable

Parser for format commandname [argumentValue] [argumentValue]. Basic validation implemented.

Method Details

ParseCommand() public static method

Parser for format commandname [argumentValue] [argumentValue]. Basic validation implemented.
public static ParseCommand ( string command, string commandRegex, string argumentRegex, char trimKeyValues, bool ignoreCase ) : object>>.IEnumerable
command string
commandRegex string ([a-z,A-Z]*)
argumentRegex string (/[a-z,A-Z]*:)
trimKeyValues char
ignoreCase bool
return object>>.IEnumerable