public AccountService( IHttpClientFactoryService httpClientFactoryService, IGlobalStateService globalStateService, ISqlLiteService sqlLiteService) { _httpClientFactoryService = httpClientFactoryService; _globalStateService = globalStateService; _sqlLiteService = sqlLiteService; }
public SettingsViewModel( ISqlLiteService sqlLiteService, IMvxPictureChooserTask pictureChooserTask, IProfileService profileService) { _sqlLiteService = sqlLiteService; _pictureChooserTask = pictureChooserTask; _profileService = profileService; _profileService = profileService; }
public MainViewModel( IMvxNavigationService navigationService, ISqlLiteService sqlLiteService, IGlobalStateService globalStateService, IAccountService accountService) { _navigationService = navigationService; _sqlLiteService = sqlLiteService; _globalStateService = globalStateService; _accountService = accountService; }
public SqlLiteController(ISqlLiteService service) { this._service = service; }
public ProductRepository(ISqlLiteService sqlLiteService) { _sqlLiteService = sqlLiteService; }
public UserRepository(ISqlLiteService sqlLiteService) { UserConnectionRepository = sqlLiteService.GetConnection(); UserConnectionRepository.CreateTable <LoginCredentialsModel>(); }
public ComparePageViewModel(ISqlLiteService sql) { _sql = sql; }
public SettingsPageViewModel(IAppDataService appData, ISqlLiteService db, INavigationService nav) { _appData = appData; _db = db; _nav = nav; Regions = new ObservableCollection<Region>(); Distances = new ObservableCollection<string>(); Distances.Add("500 m"); Distances.Add("1 km"); Distances.Add("2 km"); Distances.Add("5 km"); PolicyText = "While using our New Zealand Schools app, we may collect GPS data from your location to determine any nearby schools in your area. This GPS data will not be stored or transmitted, and will be automatically erased from memory every time the app is closed."; Policy2Text = "All information displayed has been gathered from the New Zealand Ministry of Education, where it is available under the Creative Commons Attribution 3.0 New Zealand licence. Therefore Mosu Apps will not be responsible for the accuracy, availability, completeneess of the information and shall not have any legal liability for any loss resulting in the use of such information."; InfoVersion = "aug 2015"; BackCommand = new DelegateCommand(ExecuteBackCommand); }
public SchoolPageViewModel(ISqlLiteService sql, INavigationService nav) { _sql = sql; _nav = nav; GraphSeries = new List<Graph>(); ZoomLevel = 16; IsMapLocked = true; BackCommand = new DelegateCommand(ExecuteBackCommand); CallCommand = new DelegateCommand(ExecuteCallCommand); OpenWebsiteCommand = new DelegateCommand(ExecuteOpenWebsiteCommand); ShareCommand = new DelegateCommand(ExecuteShareCommand); FavouriteCommand = new DelegateCommand(ExecuteFavouriteCommand); TapLockMapCommand = new DelegateCommand(ExecuteTapLockMapCommand); TapCenterMapCommand = new DelegateCommand(ExecuteTapCenterMapCommand); _dataTransferManager = DataTransferManager.GetForCurrentView(); _dataTransferManager.DataRequested += new TypedEventHandler<DataTransferManager, DataRequestedEventArgs>(ShareTextHandler); }