public ParkingTerminal(
     IUserTerminal userTerminal,
     ICommandExtractor commandExtractor,
     ICommandExecutor commandExecutor)
 {
     _userTerminal     = userTerminal;
     _commandExtractor = commandExtractor;
     _commandExecutor  = commandExecutor;
 }
Пример #2
0
 public CalculateCommand(
     ICommandParser commandParser,
     ICommandLexer commandLexer,
     ICommandExtractor commandExtractor,
     IDictionary <string, Operator> operators)
 {
     _commandParser    = commandParser;
     _commandLexer     = commandLexer;
     _commandExtractor = commandExtractor;
     _operators        = operators;
 }
 public VpIntegrationTests()
 {
     _commandExtractor = new CommandExtractor();
     _commandExecutor  = new CommandExecutor(new VehicleParkProvider());
 }
 public CommandTests()
 {
     _extractor = new CommandExtractor();
     _execute   = new CommandExecutor(new VehicleParkProvider());
 }