public VehicleByDistanceViewModel( IVehiclesInMapViewModel vehiclesByDistanceViewModel) { VehiclesByDistanceViewModel = vehiclesByDistanceViewModel; InitializeCommands(); }
public MapViewModel( ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService, IVehiclesInMapViewModel vehiclesByDistanceViewModel) { _locationService = locationService; _applicationSettingService = applicationSettingService; VehiclesByDistanceViewModel = vehiclesByDistanceViewModel; 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(); }