private ITaskOrder GetAddCommand(int commandName, AgendaController agendaClient) { if (validAddCommands.ContainsKey(commandName)) { return(validAddCommands[commandName]); } else { return(null); } }
public ActionerOfAdd(AgendaController agendaController, Dictionary <int, ITaskOrder> customAddCommands = null) { this.agendaController = agendaController; if (customAddCommands != null) { validAddCommands = customAddCommands; } else { validAddCommands = new Dictionary <int, ITaskOrder>() { { 1, new AdderOneEntry(agendaController) } } }; }
public TextFilterer(AgendaController agendaController) { this.agendaController = agendaController; }
public UserClientDecorator(IUserClient decoratedInterpreter) { this.decoratedClient = decoratedInterpreter; agendaController = GetAgendaController(); AddValidCommand(); }
public ActionerOfRemove(AgendaController agendaController) { this.agendaController = agendaController; }
public DateFilterer(AgendaController agendaController) { this.agendaController = agendaController; }
public AdderOneEntry(AgendaController agendaController) { this.agendaController = agendaController; }