public EventDetailsViewModel(ILocalStorageService localStorageService, INetworkConnectionService networkConnectionService, IMessageDialogService messageDialogService, IEventService eventService) { _localStorageService = localStorageService; _networkConnectionService = networkConnectionService; _messageDialogService = messageDialogService; _eventService = eventService; }
public LanguageService(IUnitOfWork unitOfWork, IExceptionHandler exceptionHandler, ILocalStorageService storageService, HttpContextBase context) { this.unitOfWork = unitOfWork; this.languageRepository = unitOfWork.LanguageRepository; this.exceptionHandler = exceptionHandler; this.storageService = storageService; this.context = context; }
public ThumbnailService(ILocalStorageService azureService , IProjectService projectService , IUserService userService) { this.serviceLocalStorage = azureService; this.serviceProject = projectService; this.serviceUser = userService; }
public WeatherViewModel(IWeatherSevice weatherSevice, IEventAggregator eventAggregator, ILocalStorageService localStorage) { _weatherSevice = weatherSevice; _eventAggregator = eventAggregator; _localStorage = localStorage; LoadWeatherCommand = new DelegateCommand(LoadWeatherCommandExecuted, LoadWeatherCommandCanExecute); }
public MainPage(ILocalStorageService localStorageService, FakeUsageReporter fakeUsageReporter) { InitializeComponent(); _log = new StringBuilder(); _localStorageService = localStorageService; _fakeUsageReporter = fakeUsageReporter; }
public ProfileController(IUserService userService, IDropBoxService dropboxService , ILogService logService , ILocalStorageService localStorageService ) : base(userService, logService) { this.serviceDropbox = dropboxService; this.serviceLocalStorage = localStorageService; }
public PlaylistRepository(ILocalStorageService localStorageService) { this.localStorageService = localStorageService; userSettings = localStorageService.Retrieve<UserSettings>(); if (userSettings == null) { userSettings = new UserSettings(); SaveChanges(); } }
// public string DefaultSavePath {get;set;} public TempFileService(ITempFileRepository _repo , IUserRepository _userRepo , IWaveformService _waveformService , IFileService _fileService , IDropBoxService _dropboxService , ISkydriveService _skydriveService , IThumbnailRepository _thumbnailRepository , ILogService _logService , ILocalStorageService _azureService ) { fileRepo = _repo; userRepo = _userRepo; serviceWaveform = _waveformService; this.serviceMogFile = _fileService; this.serviceDropbox = _dropboxService; this.serviceSkydrive = _skydriveService; this.repositoryThumbnail = _thumbnailRepository; this.serviceLog = _logService; this.serviceLocalStorage = _azureService; }
public AuthProvider(HttpClient httpClient, ILocalStorageService localStorage) { this.httpClient = httpClient; this.localStorage = localStorage; }
public ApiAuthenticationStateProvider(HttpClient httpClient, ILocalStorageService localStorage) { _httpClient = httpClient; _localStorage = localStorage; }
public NoteService(ILocalStorageService localStorageService) { this._LocalStorageService = localStorageService; }
public JwtAuthenticationStateProvider(ILocalStorageService localStorageService, HttpClient httpClient) { anonymous = new AuthenticationState(new ClaimsPrincipal(new ClaimsIdentity())); this.localStorageService = localStorageService; this.httpClient = httpClient; }
public GoogleDriveAPI(HttpClient httpClient, ILocalStorageService localStorage) { _httpClient = httpClient; _localStorage = localStorage; }
public FunctionService(ILocalStorageService localStorage) { this.localStorage = localStorage; }
public DiscoTileBackgroundTask() { localStorageService = new LocalStorageService(); random = new Random(); }
public WeatherForecastService(HttpClient httpClient, ILocalStorageService localStorageService) { this.httpClient = httpClient; LocalStorageService = localStorageService; }
public AuthenticationRepository(IHttpClientFactory client, ILocalStorageService localStorage, AuthenticationStateProvider authenticationStateProvider) { _client = client; _localStorage = localStorage; _authenticationStateProvider = authenticationStateProvider; }
public SetStateHandler(IConfiguration configuration, ISessionStorageService sessionStorageService, ILocalStorageService localStorageService, SweetAlertService sweetAlertService, NavigationManager navigationManager, EndPointsModel endPoints, IHttpClient httpClient, HttpClient baseHttpClient, IJSRuntime jsRuntime, IMediator mediator, IStore store) : base(configuration, sessionStorageService, localStorageService, sweetAlertService, navigationManager, endPoints, httpClient, baseHttpClient, jsRuntime, mediator, store) { Configuration = configuration; SessionStorageService = sessionStorageService; LocalStorageService = localStorageService; SweetAlertService = sweetAlertService; NavigationManager = navigationManager; EndPoints = endPoints; HttpClient = httpClient; BaseHttpClient = baseHttpClient; JsRuntime = jsRuntime; Mediator = mediator; Store = store; }
public DataRepositoryLocalStorage(ILocalStorageService localStorage) { _localStorage = localStorage; }
public CustomAuthStateProvider(ILocalStorageService localStorageService) { this.localStorageService = localStorageService; }
public CurrentCultureService(ILocalStorageService localStorageService, ISyncLocalStorageService syncLocalStorageService) { _localStorageService = localStorageService; _syncLocalStorageService = syncLocalStorageService; }
public OAuthAuthenticationStateProvider(ILocalStorageService localStorage) { this.localStorage = localStorage; }
public CategoryDataService(IClient client, IMapper mapper, ILocalStorageService localStorage) : base(client, localStorage) { _mapper = mapper; }
public TodoServiceLocalStore(ILocalStorageService localStorage) { _localStorage = localStorage; }
public AppState(ILocalStorageService localStorageService) { NewTrailState = new NewTrailState(); FavoriteTrailsState = new FavoriteTrailsState(localStorageService); }
public TokenAuthenticationStateProvider(ILocalStorageService localStorageService) { _localStorageService = localStorageService; }
public MealService(ILocalStorageService localStorageService) { _localStorageService = localStorageService; }
public BaseRepository(IHttpClientFactory client, ILocalStorageService localStorage) { _client = client; _localStorage = localStorage; }
public AuthService(HttpClient http, NavigationManager nav, ILocalStorageService localStorage) { _http = http; _nav = nav; _localStorage = localStorage; }
public ApiAuthenticationStateProvider(ILocalStorageService localStorage, JwtSecurityTokenHandler tokenHandler) { _localStorage = localStorage; _tokenHandler = tokenHandler; }
public CustomAuthenticationStateProvider(ILocalStorageService localStorage) { _localStorage = localStorage; }
public MainViewModel(IUrlService urlService, INavigationService navigationService, ILocalStorageService localStorageService, StackOverflowService stackOverflowService) { _UrlService = urlService; _NavigationService = navigationService; _LocalStorageService = localStorageService; _StackOverflowService = stackOverflowService; Tags = new ObservableCollection<string>(); Questions = new ObservableCollection<Question>(); }
public HttpRequestMessageProvider(ILocalStorageService localStorageService = null) { _LocalStorage = localStorageService; }
// public EmployeeEditViewModel(IDataService <Employee> es, ILocalStorageService ls, MainViewModel vm) { _vm = vm; _es = es; _ls = ls; this.isInitializing = true; try { if (_vm.ActiveViewModels.Count > 0) { var employee = _vm.ActiveViewModels.First(f => f.Value == "Employee").Value == "Employee"; if (employee.IsFalse()) { _vm.ActiveViewModels.Add(this.GetType(), "Employee"); } } else { _vm.ActiveViewModels.Add(this.GetType(), "Employee"); } } catch (Exception e) { _vm.ActiveViewModels.Add(this.GetType(), "Employee"); } Messenger.Default.Register <EmployeeChangedMessage>(this, this.HandleEmployeeChangedMessage); Messenger.Default.Register <ContentPresenterChangedMessage>(this, this.HandleContentPresenterChangedMessage); Messenger.Default.Register <AdminDataCloseMessage>(this, this.HandleAdminDataCloseMessage); Messenger.Default.Register <NotifyResultMessage>(this, this.HandleNotifyResultMessage); this.AddEmployeeCommand = new RelayCommand(this.ExecuteAddEmployeeCommand, this.CanExecuteAddEmployeeCommand); this.EditEmployeeCommand = new RelayCommand(this.ExecuteEditEmployeeCommand, this.CanExecuteEditEmployeeCommand); this.DeleteEmployeeCommand = new RelayCommand(this.ExecuteDeleteEmployeeCommand, this.CanExecuteDeleteEmployeeCommand); this.SaveEmployeeCommand = new RelayCommand(this.ExecuteSaveEmployeeCommand, this.CanExecuteSaveEmployeeCommand); this.CancelEmployeeCommand = new RelayCommand(this.ExecuteCancelEmployeeCommand, this.CanExecuteCancelEmployeeCommand); this.NotificationMessageViewedCommand = new RelayCommand(this.ExecuteNotificationMessageViewedCommand, thisCanExecuteNotificationMessageViewedCommand); this.ShowEditButtons(true); this.GetDataListsAsync(); #region CreateManualLists //var dist = new Employee() { PK_Employee=1, EmployeeName = "Gap Employee", FK_Region = 2 }; //this.EmployeeList = new ObservableCollection<Employee> //{ // dist //}; //if (this.EmployeeList.Count > 0) //{ // this.SelectedListItem = this.EmployeeList[0]; //} //var reg = new Region() { PK_Region=2, RegionName = "Pennsylvania Region" }; //this.RegionList = new ObservableCollection<Region> { reg }; //reg = new Region() { PK_Region=1, RegionName = "Alabama Region" }; //this.RegionList.Add(reg); //if (this.RegionList.Count > 0) //{ // var item = this.RegionList.Where(w => w.PK_Region == dist.FK_Region).FirstOrDefault(); // if(item != null) // { // this.SelectedRegionItem = item; // } //} #endregion }
public BasketService(ILocalStorageService localStorage) { this.localStorage = localStorage; Fetch(); }
public SessionService(ILocalStorageService localStorageService) { this.localStorageService = localStorageService; }
public SignupViewModel(ILocalStorageService localStorageService, ITogglRestService togglRestService) { _localStorageService = localStorageService; _togglRestService = togglRestService; }
public AdServices(HttpClient httpClient, ILocalStorageService localStorageService, ITokenServices tokenServices) { this.httpClient = httpClient; this.localStorageService = localStorageService; this.tokenServices = tokenServices; }
public BookRepository(HttpClient client, ILocalStorageService localStorage) : base(client, localStorage) { _client = client; _localStorage = localStorage; }
public SettingsService(ILocalStorageService localStorageService) { _LocalStorageService = localStorageService; }
protected LoginServiceBase() { this.GitHubClient = App.Container.Resolve<IGitHubClient>(); LocalStorageService = App.Container.Resolve<ILocalStorageService>(); RefreshCredentialsFromStorage(); }
public AuthorRepository(IHttpClientFactory client, ILocalStorageService localStorage) : base(client, localStorage) { _client = client; _localStorage = localStorage; }
public LocalAuthenticationStateProvider(ILocalStorageService storageService) { _storageService = storageService; }
public MainViewModel(ILocalStorageService storageService) { _storageService = storageService; }