public RetrieveHistoryCommand(IHistoryController historyController, IList <string> args) { this.historyController = historyController; this.Arguments = args; }
public BasicCalculator() { this.historyController = new HistoryController(); this.memoryController = new MemoryController(); this.commandInterpreter = new CommandInterpreter(this.historyController, this.memoryController); }
public AddOperationCommand(IHistoryController historyController, IList <string> args) { this.historyController = historyController; this.Arguments = args; }
public CommandInterpreter(IHistoryController historyController, IMemoryController memoryController) { this.HistoryController = historyController; this.MemoryController = memoryController; }