RpgCodeExpress.RpgCode.RPGcode.FindCommand C# (CSharp) Method

FindCommand() public method

Finds a command.
public FindCommand ( string code ) : Command
code string Name of the command.
return Command
        public Command FindCommand(string code)
        {
            if (dictionary.ContainsKey(code.ToLower()))
                return dictionary[code.ToLower()];
            else
                return null;
        }