public AirportControllerHandler(IAirportManager airportManager) { if (!airportManager.IsNullOrDefault()) { m_AirportManager = airportManager; } }
static FlightsController() { if (_airportManager == null) { _airportManager = new AirportManager(); } if (_hubHelper == null) { _hubHelper = new HubHelper(_airportManager); } }
public ServerService(IConverterProvider converterProvider, IDALService dalService, AirportLoader airportLoader = AirportLoader.Load) { this.airportManager = new AirportManager(); this.converterProvider = converterProvider; this.dalService = dalService; if (airportLoader == AirportLoader.CreateAndLoad) { CreateAirports(); } ChangeInStateEvent += dalService.UpdateDatabase; ChangeInStateEvent += dalService.AddLogDatabase; }
private void Init() { m_AirportManagerMock = Substitute.For<IAirportManager>(); }
public AirportController(IAirportManager airportManager) { this.airportManager = airportManager; }
public AirportController(IAirportManager manager) { this.manager = manager; }
public AirportController(IAirportManager AirportManager) { //_salesVolumeManager = salesVolumeManager; _AirportManager = AirportManager; }