public NetworkDataHandler(ITransportDataProvider transportDataProvider,
                           IHousingDataProvider housingDataProvider, IAirportCodeFinder airportCodeFinder,
                           ILocationHandler locationHandler, IUserSessionHandler userSessionHandler)
 {
     this.transportDataProvider = transportDataProvider;
     this.housingDataProvider   = housingDataProvider;
     this.airportCodeFinder     = airportCodeFinder;
     this.locationHandler       = locationHandler;
     this.userSessionHandler    = userSessionHandler;
 }
示例#2
0
        public MainApplication(IEventHandler eventHandler, IUserSessionHandler userSessionHandler, IFabric <ITravelEvent> eventFabric,
                               IFabric <Travel> travelFabric, ILocationHandler locationHandler, INetworkDataHandler networkDataHandler, IFormatsHandler formatsHandler)

        {
            EventHandler       = eventHandler;
            UserSessionHandler = userSessionHandler;
            EventFabric        = eventFabric;
            TravelFabric       = travelFabric;
            LocationHandler    = locationHandler;
            FormatsHandler     = formatsHandler;
            NetworkDataHandler = networkDataHandler;
        }
        public CpxDisplayOrderQueueController(IOrderQueueService orderQueueService, ILocationHandler locationHandler, IContactAuthenticationHandler authenticationHandler)
        {
            if (orderQueueService == null)
            {
                throw new ArgumentNullException("orderQueueService");
            }
            _orderQueueService = orderQueueService;
            if (locationHandler == null)
            {
                throw new ArgumentNullException("locationHandler");
            }
            _locationHandler = locationHandler;
            if (authenticationHandler == null) throw new ArgumentNullException("authenticationHandler");

            _authenticationHandler = authenticationHandler;
        }
示例#4
0
 public LocationController(ILocationHandler theHandler)
 {
     handler = theHandler;
 }
示例#5
0
 public SkyscannerApi(HttpApi httpApi, ILocationHandler locationHandler) : base(httpApi)
 {
     this.locationHandler = locationHandler;
 }