Ejemplo n.º 1
0
 public TestSystemSettings(
     ILogger <TestSystemSettings> logger,
     IStaticDataCachingService staticDataCachingService,
     IFlightSearchService flightSearchService)
 {
     _logger = logger;
     _flightSearchService = flightSearchService;
     _systemSetting       = staticDataCachingService.SystemSettings();
 }
Ejemplo n.º 2
0
        public BookFlightViewModel(
            IFlightSearchService flightSearchService,
            INavigationService navigationService)
        {
            _flightSearchService = flightSearchService;
            _navigationService   = navigationService;

            _departureDate = DateTime.Now.Date;
            _returnDate    = DateTime.Now.Date.AddDays(2);

            _selectedFlyingClass    = FlyingClasses[0];
            _selectedStopPreference = NoOfStops[0];
            _noOfAdultPassengers    = 1;
            _noOfChildrenPassengers = 0;
        }
Ejemplo n.º 3
0
 public FlightSearchController(IFlightSearchService service)
 {
     this.service = service;
 }
Ejemplo n.º 4
0
 public FlightSearchFacade(IFlightSearchService flightSearchService, IAirportService airportService)
 {
     this.flightSearchService = flightSearchService;
     this.airportService      = airportService;
 }
 public FlightSearchState(IFlightSearchService flightSearchService, IAirportSearchService airportSearchService)
 {
     _flightSearchService  = flightSearchService;
     _airportSearchService = airportSearchService;
 }
Ejemplo n.º 6
0
 public SearchController(IFlightSearchService service)
 {
     _service = service;
 }
Ejemplo n.º 7
0
 public SearchController(IFlightSearchService _IFlightOfferSVCaller)
 {
     IFlightOfferSVCaller = _IFlightOfferSVCaller;
 }