Пример #1
0
        private void InitializeSearchStationCommand(ITransportService transportService)
        {
            var searchStationCommand = new SearchStationAsyncCommand(transportService);

            searchStationCommand.StationSearchCompleted += this.StationSearchCompletedHandler;
            searchStationCommand.BeginStationSearch     += this.BeginStationSearchHandler;

            this.SearchStationCommand = searchStationCommand;
        }
Пример #2
0
        private void InitializeSearchStationCommand(ITransportService transportService)
        {
            var searchStationCommand = new SearchStationAsyncCommand(transportService);

            searchStationCommand.StationSearchCompleted += this.StationSearchCompletedHandler;
            searchStationCommand.BeginStationSearch += this.BeginStationSearchHandler;

            this.SearchStationCommand = searchStationCommand;
        }
        public void SetUp()
        {
            this.transportService = A.Fake <ITransportService>();

            this.testee = new SearchStationAsyncCommand(this.transportService);
        }
        public void SetUp()
        {
            this.transportService = A.Fake<ITransportService>();

            this.testee = new SearchStationAsyncCommand(this.transportService);
        }