public MyRidesViewModel( IMyRidesViewModel myRidesViewModel) { MyRidesVM = myRidesViewModel; InitializeCommands(); }
public MyRidesViewModel( IMyRidesViewModel myRidesViewModel) { MyRidesVM = myRidesViewModel; InitializeCommands(); }
// 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(); }
public MainViewModel( IVehiclesByDistanceViewModel vehiclesByDistanceViewModel, IVehiclesByPriceViewModel vehiclesByPriceViewModel, IMyRidesViewModel myRidesViewModel, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService) { VehiclesByDistanceViewModel = vehiclesByDistanceViewModel; VehiclesByPriceViewModel = vehiclesByPriceViewModel; MyRidesViewModel = myRidesViewModel; _locationService = locationService; _applicationSettingService = applicationSettingService; VehiclesByDistanceViewModel.PropertyChanged += VehiclesByDistanceViewModel_PropertyChanged; VehiclesByPriceViewModel.PropertyChanged += VehiclesByPriceViewModel_PropertyChanged; MyRidesViewModel.PropertyChanged += MyRidesViewModel_PropertyChanged; InitializeCommands(); }
public MainViewModel( IVehiclesByDistanceViewModel vehiclesByDistanceViewModel, IVehiclesByPriceViewModel vehiclesByPriceViewModel, IMyRidesViewModel myRidesViewModel, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService) { VehiclesByDistanceViewModel = vehiclesByDistanceViewModel; VehiclesByPriceViewModel = vehiclesByPriceViewModel; MyRidesViewModel = myRidesViewModel; _locationService = locationService; _applicationSettingService = applicationSettingService; VehiclesByDistanceViewModel.PropertyChanged += VehiclesByDistanceViewModel_PropertyChanged; VehiclesByPriceViewModel.PropertyChanged += VehiclesByPriceViewModel_PropertyChanged; MyRidesViewModel.PropertyChanged += MyRidesViewModel_PropertyChanged; InitializeCommands(); }