/// <summary> /// Initializes a new instance of the <see cref="LocatableStationServiceTests"/> class. /// </summary> public LocatableStationServiceTests() { var fakeLocation = new FakeLocationProvider(); this.locatableStationService = new LocatableStationService( fakeLocation, new TransportationQueryService()); }
/// <summary> /// Initializes a new instance of the <see cref="StationSelector"/> class. /// </summary> public StationSelector() { this.InitializeComponent(); this.actionHandler = new ActionHandler(this); var locationQueryService = new LocationQueryService(); this.locatableStationService = new LocatableStationService(locationQueryService, this.queryService); this.tbSearch.Focus(); }
/// <summary> /// Initializes a new instance of the <see cref="SwissTransportMainForm"/> class. /// </summary> public SwissTransportMainForm() { this.InitializeComponent(); this.lvStations.Columns[0].Width = this.lvStations.Width - 10; this.actionHandler = new ActionHandler(this); this.locatableStationService = new LocatableStationService( this.locationQueryService, this.queryService); }