Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LocatableStationService"/> class.
 /// </summary>
 /// <param name="locationQueryService">The service to get the location.</param>
 /// <param name="dataQueryService">The service to get the transportation data.</param>
 public LocatableStationService(
     ILocationQueryService locationQueryService,
     IQueryService dataQueryService)
 {
     this.locationQueryService = locationQueryService;
     this.dataQueryService     = dataQueryService;
 }
Beispiel #2
0
 public StoreController(IStoreQueryService storeQueryService,
                        ILocationQueryService locationQueryService,
                        IDiscountQueryService discountQueryService,
                        ICommandBus commandBus)
 {
     _storeQueryService    = storeQueryService;
     _locationQueryService = locationQueryService;
     _discountQueryService = discountQueryService;
     _commandBus           = commandBus;
 }
Beispiel #3
0
 public LocationController(ILocationQueryService locationQueryService
                           , ILocationService locationService)
 {
     this._locationQueryService = locationQueryService;
     this._locationService      = locationService;
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LocationQueryServiceTests"/> class.
 /// </summary>
 public LocationQueryServiceTests()
 {
     this.locationQueryService = new LocationQueryService();
 }