public LocalFileSystemDeployService(ILocalFileService localFileService, IConfigurationProvider configurationProvider, IInstallationPackageLocatorService installationPackageLocatorService, ILog logger) { _localFileService = localFileService; _configurationProvider = configurationProvider; _installationPackageLocatorService = installationPackageLocatorService; _logger = logger; }
public RecycleBinViewModel(INavigationService navigationService, ILocalFileService localFileService, ICloudFileService cloudFileService, IMessagesService messagesService) { _navigationService = navigationService; _localFileService = localFileService; _cloudFileService = cloudFileService; _messagesService = messagesService; }
public void Setup() { _loggerMock = new Mock <ILog>(); _fileService = new LocalFileService(_loggerMock.Object); if (Directory.Exists("Test")) { Directory.Delete("Test"); } }
public DownloadService(IAppLogger <DownloadService> logger, IMovieService movieService, IMovieMagnetService movieMagnetService, IQbittorrentService qbittorrentService, ILocalFileService localFileService) { _logger = logger; //_magnetSettings = magnetSettings.Value; _movieService = movieService; _movieMagnetService = movieMagnetService; _qbittorrentService = qbittorrentService; _localFileService = localFileService; }
public FileViewerViewModel(INavigationService navService, ICloudFileService cloudFileService , ILocalFileService localFileService, IAuthService authService, IMessagesService messagesService) { _navigationService = navService; _cloudFileService = cloudFileService; _localFileService = localFileService; _authService = authService; _messagesService = messagesService; _cloudFileService.FileMetaDataChanged += OnFileMetaDataChanged; }
public ExaminationIntegrationService(IRemoteFileService remoteFileService, ILocalFileService localFileService, ILogger <ExaminationIntegrationService> logger, IExaminationAudioSynchronizationConfiguration examinationAudioSynchronizationConfiguration) { this.logger = logger; this.localFileService = localFileService; this.remoteFileService = remoteFileService; this.examinationAudioSynchronizationConfiguration = examinationAudioSynchronizationConfiguration; }
public BingImagesController( DefaultDatabaseContext databaseContext, IImageService <BingImage> imageService, ILocalFileService localFileService, ILogger <BingImagesController> logger) { this.databaseContext = databaseContext; this.imageService = imageService; this.localFileService = localFileService; this.logger = logger; }
public FilmController( ApplicationDbContext context, UserManager <IdentityUser> userManager, ILocalFileService localFileService, IMapper mapper) { _context = context; _userManager = userManager; _localFileService = localFileService; _mapper = mapper; }
public FilesController( IImageRepository repository, ILocalFileService fileService, IOptionsMonitor <CollectorOptions> appOptionsAccessor, IImageFileService imageFileService, ILoggerFactory loggerFactory) { this.repository = repository; this.fileService = fileService; this.appOptions = appOptionsAccessor.CurrentValue; this.imageFileService = imageFileService; this.logger = loggerFactory.CreateLogger <ImagesController>(); }
public MainViewModel(IAppDataDirectoryService appDataDirectoryService, ILocalFileService localFileService) { LocalFileService = localFileService; AppDataDirectoryService = appDataDirectoryService; CreateFilesCommand = ReactiveCommand.Create(() => { AppDataDirectoryService.CreateDataFiles(); }); CreateFilesCommand.Execute().Subscribe(); CreateFilesCommand.ThrownExceptions.Subscribe((Exception) => { Message = Exception.Message; }); }
public SettingsViewModel() { LocalFileService = Startup.ServiceProvider.GetService <ILocalFileService>(); Uri = LocalFileService.ReadSettings().BaseUrl; currentUri = Uri; var canExecute = this.WhenAnyValue( x => x.Uri, x => x.Key, (userName, password) => !string.IsNullOrEmpty(userName) && !string.IsNullOrEmpty(password)); SaveCommand = ReactiveCommand.Create(SaveSettings, canExecute); CancelCommand = ReactiveCommand.Create(Cancel_Clicked, canExecute); }
public App( IHostApplicationLifetime hostApplicationLifetime, DefaultDatabaseContext databaseContext, IOptions <CollectorOptions> appOptionsAccessor, IImageService <BingImage> imageService, ILocalFileService fileService, ILoggerFactory loggerFactory) { this.hostApplicationLifetime = hostApplicationLifetime; this.databaseContext = databaseContext; this.imageService = imageService; this.fileService = fileService; appOptions = appOptionsAccessor.Value ?? new CollectorOptions(); logger = loggerFactory.CreateLogger <App>(); timer = new System.Timers.Timer(); timer.Interval = 1000; timer.Elapsed += Timer_Elapsed; timer.Enabled = true; }
public LocalFileSystemLogCleanupJob(ILog log, ILocalFileService localFileService) { _log = log; _localFileService = localFileService; }
public MainViewModel(IDatabaseService databaseService, ILocalFileService localFileService) { this.databaseService = databaseService; this.localFileService = localFileService; }
public InstallationPackageLocatorService(ILocalFileService localFileService, IConfigurationProvider configurationProvider, ILog logger) { _localFileService = localFileService; _configurationProvider = configurationProvider; _logger = logger; }
public FileController(ILocalFileService localFileService) { _localFileService = localFileService; }
public DatabaseService(ISqlitePlatformProvider sqlitePlatformProvider, IDatabaseNameProvider databaseNameProvider, ILocalFileService localFileService) : base(sqlitePlatformProvider, databaseNameProvider, localFileService) { }
public PersonController(ApplicationDbContext context, ILocalFileService localFileService, IMapper mapper) { _context = context; _localFileService = localFileService; _mapper = mapper; }