public FileController( IConfigurationProvider configurationProvider, IFileCacheService fileCacheService) { this.configurationProvider = configurationProvider; this.fileCacheService = fileCacheService; }
public AccountInfoViewModel(IProfileProvider profileProvider, ICredentialsProvider credentialsProvider, IDataCacheService dataCacheService, IFileCacheService fileCacheService, INavigationService navigationService, INotificationsProvider notificationsProvider, IBookmarksProvider bookmarksProvider, ICatalogProvider catalogProvider, IBookProvider bookProvider, ICatalitClient client, ILitresPurchaseService purchaseService) { _navigationService = navigationService; _profileProvider = profileProvider; _credentialsProvider = credentialsProvider; _dataCacheService = dataCacheService; _fileCacheService = fileCacheService; _notificationsProvider = notificationsProvider; _bookmarksProvider = bookmarksProvider; _catalogProvider = catalogProvider; _bookProvider = bookProvider; _client = client; _purchaseService = purchaseService; RegisterAction(ClearUserInfoPart).AddPart(ClearUserInfoProceed, session => true); RegisterAction(AddToDepositPart).AddPart(AddToDepositProceed, session => true); RegisterAction(LoadUserInfoPart).AddPart(LoadUserInfoProceed, session => session.Parameters.GetValue<UserInformation>(ChangeUserInfoParameter, null) == null); ClearData = new RelayCommand(ClearUserInfo); ReloadInfo = new RelayCommand(ReloadUserInfo); AddToDeposit = new RelayCommand<DepositType>(dt => AddToDepositFunc(dt)); Deposits = new List<Deposit> { new Deposit { LitresPrice = "105 руб.", RealPrice = "149 руб." }, new Deposit { LitresPrice = "189 руб.", RealPrice = "269 руб." }, new Deposit { LitresPrice = "304 руб.", RealPrice = "434 руб." }}; }
public FileFetcherService(IOptions <MdFileOptions> options, ILogger <FileFetcherService> logger, IIOProxy ioProxy, IFileCacheService fileCacheService) { _logger = logger; _options = options.Value; _ioProxy = ioProxy; _fileCacheService = fileCacheService; }
public BookProvider(ISessionAwareConnection awareConnection, IDataCacheService dataCacheService, IFileCacheService fileCacheService, IDeviceInfoService deviceInfoService, IFileDownloadService fileDownloadService, ISessionEstablisherService sessionEstablisherService) { _fileCacheService = fileCacheService; _dataCacheService = dataCacheService; _awareConnection = awareConnection; _deviceInfoService = deviceInfoService; _fileDownloadService = fileDownloadService; _sessionEstablisherService = sessionEstablisherService; }
public PopupService(VmmDbContext dbContext, IFtpService ftpService, IFileCacheService fileCacheService, IConfigurationProvider configurationProvider) { this.dbContext = dbContext; this.ftpService = ftpService; this.fileCacheService = fileCacheService; this.configurationProvider = configurationProvider; }
/// <summary> /// /// </summary> public AppConfigurationRequiredServices(IAppConfigurationServiceSetup serviceSetup, IAppConfigurationEndpointService endpointService, IVersionService versionService, IUserDialogService userDialogService, INetworkService networkService, IFileCacheService fileCacheService) { this.FileCacheService = fileCacheService; this.ServiceSetup = serviceSetup; this.EndpointService = endpointService; this.VersionService = versionService; this.UserDialogService = userDialogService; this.NetworkService = networkService; }
/// <summary> /// /// </summary> public AppConfigurationService(IAppConfigurationRequiredServices requiredSerives) { this.serviceSetup = requiredSerives.ServiceSetup; this.endpointService = requiredSerives.EndpointService; this.fileCacheService = requiredSerives.FileCacheService; this.UserDialogService = requiredSerives.UserDialogService; this.VersionService = requiredSerives.VersionService; this.fileCacheService.CacheExpired += OnCacheExpired; }
public DocumentService(VmmDbContext dbContext, IDocumentTypeService documentTypeService, IFtpService ftpService, IFileCacheService fileCacheService, IConfigurationProvider configurationProvider) { this.dbContext = dbContext; this.documentTypeService = documentTypeService; this.configurationProvider = configurationProvider; this.ftpService = ftpService; this.fileCacheService = fileCacheService; }
public FileDownloadService( IFileCacheService fileCacheService ) { _fileCacheService = fileCacheService; _urls = new List<string>(); _lockObject = new object(); _waiter = new ManualResetEvent( false ); _worker = new BackgroundWorker(); _worker.DoWork += WorkerDoWork; _worker.WorkerSupportsCancellation = true; _worker.RunWorkerAsync(); }
public AuthorizationViewModel( ICredentialsProvider credentialsProvider, IProfileProvider profileProvider, INavigationService navigationService, INotificationsProvider notificationsProvider, IDataCacheService dataCacheService, IFileCacheService fileCacheService, IBookmarksProvider bookmarksProvider, ICatalogProvider catalogProvider, IBookProvider bookProvider) { _credentialsProvider = credentialsProvider; _navigationService = navigationService; _profileProvider = profileProvider; _notificationsProvider = notificationsProvider; _dataCacheService = dataCacheService; _fileCacheService = fileCacheService; _bookmarksProvider = bookmarksProvider; _catalogProvider = catalogProvider; _bookProvider = bookProvider; RegisterAction(MainPart).AddPart(LoadCredential, session => true); RegisterAction(LoginPart).AddPart(LoginProceed, session => true); }