Exemple #1
0
        public SearchResultViewModel(ITripDataService tripDataService,
                                     IMvxNavigationService mvxNavigationService) : base(mvxNavigationService)
        {
            _tripDataService = tripDataService;

            //InitializeMessenger();
        }
Exemple #2
0
 public GetTripsCommandHandler(IAssetDataService assetDataService, IMapper mapper,
     ITripDataService tripDataService)
 {
     this.assetDataService = assetDataService;
     this.mapper = mapper;
     this.tripDataService = tripDataService;
 }
Exemple #3
0
 public GetTripsCommandHandler(IRepository repository, IAssetDataService assetDataService, IMapper mapper,
                               ITripDataService tripDataService)
 {
     this.repository       = repository;
     this.assetDataService = assetDataService;
     this.mapper           = mapper;
     this.tripDataService  = tripDataService;
 }
Exemple #4
0
 public TripsPageModelView(INavigationService navigationService, ITripDataService tripDataService
                           ) : base(navigationService)
 {
     _tripDataService = tripDataService;
     Trips            = new ObservableCollection <Trip>();
     PastTrips        = new ObservableCollection <Trip>();
     GetTrips("future");
 }
Exemple #5
0
 public TripDetailViewModel(ITripDataService journeyDataService,
                            ISavedTripDataService savedJourneyDataService,
                            IDialogService dialogService,
                            IMvxNavigationService mvxNavigationService)
     : base(mvxNavigationService)
 {
     _tripDataService      = journeyDataService;
     _savedTripDataService = savedJourneyDataService;
     _dialogService        = dialogService;
     _userDataService      = null;
 }
Exemple #6
0
 public SavedTripDataService(ISavedTripRepository savedTripRepository, ITripDataService tripDataService, ICityDataService cityDataService)
 {
     _savedTripRepository = savedTripRepository;
     _tripDataService     = tripDataService;
     _cityDataService     = cityDataService;
 }