public StationController( IStationManager stationManager, IStationRepository stationRepository, IOperationHandler operationHandler ) { _stationManager = stationManager; _stationRepository = stationRepository; _operationHandler = operationHandler; }
public AirportManager() { AManager = new AirplaneManager(); AllPlanesInAirport = new List <Airplane>(); AService = new AirplaneService(); SManager = new StationManager(); AllStationsInAirport = SManager.ListOfAllStations; AllFlightsArchiveInAirport = SManager.AllFlightsArchiveInAirport; var archivedFlights = AManager.AllArchivedFlights(); for (int i = 0; i < archivedFlights.Count(); i++) { AllFlightsArchiveInAirport.Add(archivedFlights[i]); } AService.Register <Airplane>("GetPlane", AddAirplaneToQueueFromServer); }
public StationCollectionVM(IStationManager stationManager) { this.stationManager = stationManager; Stations = new ObservableCollection <StationVM>(); LoadStations(); }
public AirportManager(IStationManager stationManager) : this() { SManager = stationManager; }
public AirportManager(IAirplaneManager airplaneManager, IStationManager stationManager) : this() { AManager = airplaneManager; SManager = stationManager; }
public StationController(IStationManager STATION_MANAGER) { this.STATION_MANAGER = STATION_MANAGER; }