public VehicleByDistanceViewModel(
            IVehiclesInMapViewModel vehiclesByDistanceViewModel)
        {
            VehiclesByDistanceViewModel = vehiclesByDistanceViewModel;

            InitializeCommands();
        }
예제 #2
0
        public VehicleByDistanceViewModel(
            IVehiclesInMapViewModel vehiclesByDistanceViewModel)
        {
            VehiclesByDistanceViewModel = vehiclesByDistanceViewModel;

            InitializeCommands();
        }
        public MapViewModel(
            ILocationServiceSingleton locationService,
            IApplicationSettingServiceSingleton applicationSettingService,
            IVehiclesInMapViewModel vehiclesByDistanceViewModel)
        {
            _locationService            = locationService;
            _applicationSettingService  = applicationSettingService;
            VehiclesByDistanceViewModel = vehiclesByDistanceViewModel;

            InitializeCommands();
        }
예제 #4
0
        public MapViewModel(
            ILocationServiceSingleton locationService, 
            IApplicationSettingServiceSingleton applicationSettingService,
            IVehiclesInMapViewModel vehiclesByDistanceViewModel)
        {
            _locationService = locationService;
            _applicationSettingService = applicationSettingService;
            VehiclesByDistanceViewModel = vehiclesByDistanceViewModel;

            InitializeCommands();
        }
예제 #5
0
        // Constructors
        public MainViewModel(
            IVehiclesByDistanceViewModel vehiclesByDistanceViewModel,
            IVehiclesByPriceViewModel vehiclesByPriceViewModel,
            IVehiclesInMapViewModel vehiclesInMapViewModel,
            IMyRidesViewModel myRidesViewModel,
            ICompanyRidesViewModel companyRidesViewModel
            )
        {
            this.VehiclesByDistanceViewModel = vehiclesByDistanceViewModel;
            this.VehiclesByPriceViewModel    = vehiclesByPriceViewModel;
            this.VehiclesInMapViewModel      = vehiclesInMapViewModel;
            this.MyRidesViewModel            = myRidesViewModel;
            this.CompanyRidesViewModel       = companyRidesViewModel;

            InitializeCommands();
        }