public CompanyRidesViewModel(IMyShuttleClient myShuttleClient, IApplicationSettingServiceSingleton applicationSettingService, IMvxMessenger messenger) : base(myShuttleClient, applicationSettingService,messenger) { InitializeCommands(); }
public SettingsViewModel( IApplicationSettingServiceSingleton applicationSettingService) { if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } //if (messenger == null) //{ // throw new ArgumentNullException("messenger"); //} //if (userInteraction == null) //{ // throw new ArgumentNullException("userInteraction"); //} _applicationSettingService = applicationSettingService; //_messenger = messenger; //_userInteraction = userInteraction; this.InitializeCommands(); this.InitializeActions(); }
protected VehiclesViewModelBase( IMyShuttleClient myShuttleClient, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService) { if (locationService == null) { throw new ArgumentNullException("locationService"); } if (myShuttleClient == null) { throw new ArgumentNullException("myShuttleClient"); } if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } MyShuttleClient = myShuttleClient; ApplicationSettingService = applicationSettingService; _locationService = locationService; InitializeCommands(); InitializeActions(); }
//IMvxMessenger messenger) public CoreClient( IApplicationSettingServiceSingleton applicationSettingService, IApplicationStorageService applicationStorageService) { if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } if (applicationStorageService == null) { throw new ArgumentNullException("applicationStorageService"); } //if (messenger == null) //{ // throw new ArgumentNullException("messenger"); //} _applicationSettingService = applicationSettingService; _applicationStorageService = applicationStorageService; //_messenger = messenger; //_token = _messenger.Subscribe<ReloadDataMessage>(_ => Refresh()); }
public CompanyRidesViewModel(IMyShuttleClient myShuttleClient, IApplicationSettingServiceSingleton applicationSettingService, IMvxMessenger messenger) : base(myShuttleClient, applicationSettingService, messenger) { InitializeCommands(); }
public MyShuttleClient( IApplicationSettingServiceSingleton applicationSettingService, IApplicationStorageService applicationStorageService, IMvxMessenger messenger) { if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } if (applicationStorageService == null) { throw new ArgumentNullException("applicationStorageService"); } if (messenger == null) { throw new ArgumentNullException("messenger"); } _applicationSettingService = applicationSettingService; _applicationStorageService = applicationStorageService; _messenger = messenger; _token = _messenger.Subscribe <ReloadDataMessage>(_ => Refresh()); }
public MyRidesViewModel( IMyShuttleClient myShuttleClient, IApplicationSettingServiceSingleton applicationSettingService, IMvxMessenger messenger) { if (myShuttleClient == null) { throw new ArgumentNullException("myShuttleClient"); } if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } if (messenger == null) { throw new ArgumentNullException("messenger"); } _myShuttleClient = myShuttleClient; _applicationSettingService = applicationSettingService; _messenger = messenger; _token = _messenger.Subscribe <ReloadDataMessage>(_ => InitializeActions()); InitializeActions(); InitializeCommands(); }
public VehiclesByPriceViewModel( IMyShuttleClient myShuttleClient, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService) : base(myShuttleClient, locationService, applicationSettingService) { }
public VehicleDetailViewModel( IMyShuttleClient myShuttleClient, //IUserInteraction userInteraction, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService) { if (myShuttleClient == null) { throw new ArgumentNullException("myShuttleClient"); } //if (userInteraction == null) //{ // throw new ArgumentNullException("userInteraction"); //} if (locationService == null) { throw new ArgumentNullException("locationService"); } if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } _myShuttleClient = myShuttleClient; //_userInteraction = userInteraction; _locationService = locationService; ApplicationSettingService = applicationSettingService; this.InitializeCommands(); }
public SettingsViewModel( IApplicationSettingServiceSingleton applicationSettingService, IMvxMessenger messenger, IUserInteraction userInteraction) { if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } if (messenger == null) { throw new ArgumentNullException("messenger"); } if (userInteraction == null) { throw new ArgumentNullException("userInteraction"); } _applicationSettingService = applicationSettingService; _messenger = messenger; _userInteraction = userInteraction; this.InitializeCommands(); this.InitializeActions(); }
public SettingsViewModel( IApplicationSettingServiceSingleton applicationSettingService, IMvxMessenger messenger,IUserInteraction userInteraction) { if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } if (messenger == null) { throw new ArgumentNullException("messenger"); } if (userInteraction == null) { throw new ArgumentNullException("userInteraction"); } _applicationSettingService = applicationSettingService; _messenger = messenger; _userInteraction = userInteraction; this.InitializeCommands(); this.InitializeActions(); }
public MyRidesViewModel( IMyShuttleClient myShuttleClient, IApplicationSettingServiceSingleton applicationSettingService, IMvxMessenger messenger) { if (myShuttleClient == null) { throw new ArgumentNullException("myShuttleClient"); } if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } if (messenger == null) { throw new ArgumentNullException("messenger"); } _myShuttleClient = myShuttleClient; _applicationSettingService = applicationSettingService; _messenger = messenger; _token = _messenger.Subscribe<ReloadDataMessage>(_ => InitializeActions()); InitializeActions(); InitializeCommands(); }
public VehiclesByPriceViewModel( IMyShuttleClient myShuttleClient, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService, IMvxMessenger messenger) : base(myShuttleClient, locationService, applicationSettingService, messenger) { }
public VehiclesByDistanceViewModel( IMyShuttleClient myShuttleClient, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService, IMvxMessenger messenger) : base(myShuttleClient, locationService, applicationSettingService, messenger) { }
public VehiclesInMapViewModel( IMyShuttleClient myShuttleClient, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService, IMvxMessenger messenger) : base(myShuttleClient, locationService, applicationSettingService, messenger) { _switchSelectedVehicleCommand = new MvxCommand<int>(SwitchSelectedVehicle); }
//public LocationServiceSingleton(IApplicationSettingServiceSingleton applicationSettingService, // IMvxLocationWatcher mvxLocationWatcher) //{ // if (applicationSettingService == null) // { // throw new ArgumentNullException("applicationSettingService"); // } // _applicationSettingService = applicationSettingService; // _watcher = mvxLocationWatcher; //} public LocationServiceSingleton(IApplicationSettingServiceSingleton appservice) { if (appservice == null) { throw new ArgumentException("appservice"); } _applicationSettingService = appservice; }
public VehicleDetailViewModel(IMyShuttleClient myShuttleClient, IMvxPhoneCallTask phoneCallTask, IUserInteraction userInteraction, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService) : base(myShuttleClient, phoneCallTask, userInteraction, locationService, applicationSettingService) { this.InitializeCommands(); }
public VehicleDetailViewModel(IMyShuttleClient myShuttleClient, IMvxPhoneCallTask phoneCallTask, IUserInteraction userInteraction, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService) : base(myShuttleClient, phoneCallTask, userInteraction, locationService, applicationSettingService) { this.InitializeCommands(); }
public VehiclesInMapViewModel( IMyShuttleClient myShuttleClient, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService, IMvxMessenger messenger) : base(myShuttleClient, locationService, applicationSettingService, messenger) { _switchSelectedVehicleCommand = new MvxCommand <int>(SwitchSelectedVehicle); }
public MovieClient(IApplicationSettingServiceSingleton applicationSettingService) { if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } _applicationSettingService = applicationSettingService; }
public LocationServiceSingleton(IApplicationSettingServiceSingleton applicationSettingService, IMvxLocationWatcher mvxLocationWatcher) { if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } _applicationSettingService = applicationSettingService; _watcher = mvxLocationWatcher; }
public LocationServiceSingleton(IApplicationSettingServiceSingleton applicationSettingService, IMvxLocationWatcher mvxLocationWatcher) { if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } _applicationSettingService = applicationSettingService; _watcher = mvxLocationWatcher; }
public MapViewModel( ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService, IVehiclesInMapViewModel vehiclesByDistanceViewModel) { _locationService = locationService; _applicationSettingService = applicationSettingService; VehiclesByDistanceViewModel = vehiclesByDistanceViewModel; InitializeCommands(); }
public MapViewModel( ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService, IVehiclesInMapViewModel vehiclesByDistanceViewModel) { _locationService = locationService; _applicationSettingService = applicationSettingService; VehiclesByDistanceViewModel = vehiclesByDistanceViewModel; InitializeCommands(); }
public VehicleDetailViewModel(IMyShuttleClient myShuttleClient, IMvxPhoneCallTask phoneCallTask, IUserInteraction userInteraction, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService) : base(myShuttleClient, phoneCallTask, userInteraction, locationService, applicationSettingService) { if (DesignMode.DesignModeEnabled) { CurrentVehicle = new Core.DocumentResponse.Vehicle { Make = "A", Model = "B", }; } }
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 VehicleDetailViewModel(IMyShuttleClient myShuttleClient, IMvxPhoneCallTask phoneCallTask, IUserInteraction userInteraction, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService) : base(myShuttleClient, phoneCallTask, userInteraction, locationService, applicationSettingService) { if (DesignMode.DesignModeEnabled) { CurrentVehicle = new Core.DocumentResponse.Vehicle { Make = "A", Model = "B", }; } }
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 MyShuttleClient( IApplicationSettingServiceSingleton applicationSettingService, IApplicationStorageService applicationStorageService) { if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } if (applicationStorageService == null) { throw new ArgumentNullException("applicationStorageService"); } _applicationSettingService = applicationSettingService; _applicationStorageService = applicationStorageService; }
public ChangePositionPage() { this.InitializeComponent(); _locationService = Mvx.GetSingleton <ILocationServiceSingleton>(); _applicationSettingService = Mvx.GetSingleton <IApplicationSettingServiceSingleton>(); InitMap(); InitializeNotifications(); this.Loaded += (sender, e) => { HardwareButtons.BackPressed += HardwareButtons_BackPressed; }; this.Unloaded += (sender, e) => { HardwareButtons.BackPressed -= HardwareButtons_BackPressed; }; }
public ChangePositionPage() { this.InitializeComponent(); _locationService = Mvx.GetSingleton<ILocationServiceSingleton>(); _applicationSettingService = Mvx.GetSingleton<IApplicationSettingServiceSingleton>(); InitMap(); InitializeNotifications(); this.Loaded += (sender, e) => { HardwareButtons.BackPressed += HardwareButtons_BackPressed; }; this.Unloaded += (sender, e) => { HardwareButtons.BackPressed -= HardwareButtons_BackPressed; }; }
public VehicleDetailViewModel( IMyShuttleClient myShuttleClient, IMvxPhoneCallTask phoneCallTask, IUserInteraction userInteraction, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService) { if (myShuttleClient == null) { throw new ArgumentNullException("myShuttleClient"); } if (phoneCallTask == null) { throw new ArgumentNullException("phoneCallTask"); } if (userInteraction == null) { throw new ArgumentNullException("userInteraction"); } if (locationService == null) { throw new ArgumentNullException("locationService"); } if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } _myShuttleClient = myShuttleClient; _phoneCallTask = phoneCallTask; _userInteraction = userInteraction; _locationService = locationService; ApplicationSettingService = applicationSettingService; this.InitializeCommands(); }
protected VehiclesViewModelBase( IMyShuttleClient myShuttleClient, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService, IMvxMessenger messenger) { if (locationService == null) { throw new ArgumentNullException("locationService"); } if (myShuttleClient == null) { throw new ArgumentNullException("myShuttleClient"); } if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } if (messenger == null) { throw new ArgumentNullException("messenger"); } MyShuttleClient = myShuttleClient; ApplicationSettingService = applicationSettingService; _locationService = locationService; _messenger = messenger; _token = _messenger.Subscribe <ReloadDataMessage>(_ => InitializeActions()); InitializeCommands(); InitializeActions(); }
protected VehiclesViewModelBase( IMyShuttleClient myShuttleClient, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService, IMvxMessenger messenger) { if (locationService == null) { throw new ArgumentNullException("locationService"); } if (myShuttleClient == null) { throw new ArgumentNullException("myShuttleClient"); } if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } if (messenger == null) { throw new ArgumentNullException("messenger"); } MyShuttleClient = myShuttleClient; ApplicationSettingService = applicationSettingService; _locationService = locationService; _messenger = messenger; _token = _messenger.Subscribe<ReloadDataMessage>(_ => InitializeActions()); InitializeCommands(); InitializeActions(); }
public SettingsViewModel(IApplicationSettingServiceSingleton applicationSettingService, IMvxMessenger messenger, IUserInteraction userInteraction) : base(applicationSettingService, messenger, userInteraction) { }
public SettingsViewModel(IApplicationSettingServiceSingleton applicationSettingService, IMvxMessenger messenger, IUserInteraction userInteraction) : base(applicationSettingService, messenger, userInteraction) { }
public MyShuttleClient( IApplicationSettingServiceSingleton applicationSettingService, IApplicationStorageService applicationStorageService, IMvxMessenger messenger) { if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } if (applicationStorageService == null) { throw new ArgumentNullException("applicationStorageService"); } if (messenger == null) { throw new ArgumentNullException("messenger"); } _applicationSettingService = applicationSettingService; _applicationStorageService = applicationStorageService; _messenger = messenger; _token = _messenger.Subscribe<ReloadDataMessage>(_ => Refresh()); }
//public LocationServiceSingleton(IApplicationSettingServiceSingleton applicationSettingService, // IMvxLocationWatcher mvxLocationWatcher) //{ // if (applicationSettingService == null) // { // throw new ArgumentNullException("applicationSettingService"); // } // _applicationSettingService = applicationSettingService; // _watcher = mvxLocationWatcher; //} public LocationServiceSingleton (IApplicationSettingServiceSingleton appservice) { if (appservice == null) throw new ArgumentException("appservice"); _applicationSettingService = appservice; }
public VehicleDetailViewModel( IMyShuttleClient myShuttleClient, IMvxPhoneCallTask phoneCallTask, IUserInteraction userInteraction, ILocationServiceSingleton locationService, IApplicationSettingServiceSingleton applicationSettingService) { if (myShuttleClient == null) { throw new ArgumentNullException("myShuttleClient"); } if (phoneCallTask == null) { throw new ArgumentNullException("phoneCallTask"); } if (userInteraction == null) { throw new ArgumentNullException("userInteraction"); } if (locationService == null) { throw new ArgumentNullException("locationService"); } if (applicationSettingService == null) { throw new ArgumentNullException("applicationSettingService"); } _myShuttleClient = myShuttleClient; _phoneCallTask = phoneCallTask; _userInteraction = userInteraction; _locationService = locationService; ApplicationSettingService = applicationSettingService; this.InitializeCommands(); }