コード例 #1
0
ファイル: Program.cs プロジェクト: antvkov/Airport
 public Program()
 {
     commandLine     = new ConsoleWrapper();
     cli             = new CommandLineInterface(commandLine);
     modelStore      = new AircraftModelStore();
     modelManager    = new AircraftModelManager(commandLine, modelStore);
     airplaneStore   = new AirplaneStore();
     airplaneManager = new AirplaneManager(commandLine, airplaneStore, modelManager);
     airportStore    = new AirportStore();
     airportManager  = new AirportManager(commandLine, airportStore, airplaneManager);
     flightStore     = new FlightStore();
     flightManager   = new FlightManager(commandLine, flightStore, airplaneManager, modelManager, airportManager);
 }
コード例 #2
0
 public FlightManager(
     ICommandLine commandLine,
     FlightStore flightStore,
     AirplaneManager airplaneManager,
     AircraftModelManager aircraftModelManager,
     AirportManager airportManager)
 {
     this.commandLine          = commandLine;
     this.flightStore          = flightStore;
     this.airplaneManager      = airplaneManager;
     this.aircraftModelManager = aircraftModelManager;
     this.airportManager       = airportManager;
 }
コード例 #3
0
ファイル: AirplaneManager.cs プロジェクト: antvkov/Airport
 public AirplaneManager(ICommandLine commandLine, AirplaneStore airplaneStore, AircraftModelManager aircraftModelManager)
 {
     this.commandLine          = commandLine;
     this.airplaneStore        = airplaneStore;
     this.aircraftModelManager = aircraftModelManager;
 }