public CommandExecuterFactory(
     IVehicleManager vehilceManager,
     IConsoleInputOutput console,
     IVehicleParser vehicleParser,
     IGarageManager garageManager,
     IGarageParser garageParser,
     ICsvImporter csvImporter,
     IFileInputOutput file)
 {
     this.vehicleParser  = vehicleParser;
     this.vehilceManager = vehilceManager;
     this.console        = console;
     this.garageManager  = garageManager;
     this.garageParser   = garageParser;
     this.csvImporter    = csvImporter;
     this.file           = file;
 }
Exemple #2
0
 public CommandExecuter(IVehicleManager vehicleManager,
                        IConsoleInputOutput consoleInputOutput,
                        IVehicleParser vehicleParser,
                        IGarageManager garageManager,
                        IGarageParser garageParser,
                        ICsvImporter csvImporter,
                        IFileInputOutput file
                        )
 {
     this.selectedVehicles = new Dictionary <Vehicle, ParkingPlaceOutput>();
     this.vehicleManager   = vehicleManager;
     this.console          = consoleInputOutput;
     this.vehicleParser    = vehicleParser;
     this.garageManager    = garageManager;
     this.garageParser     = garageParser;
     this.csvImporter      = csvImporter;
     this.file             = file;
 }
 public CsvImporter(IFileInputOutput file, IVehicleParser vehilceParser)
 {
     this.file          = file;
     this.vehilceParser = vehilceParser;
 }