public void RegisterCommand(string name, Action <object> execute, Predicate <object> canExecute) { m_Commands[name] = new BaseCommand(execute, canExecute); }
public void RegisterCommand(string name, BaseCommand baseCommand) { m_Commands[name] = baseCommand; }