public BackupSyncSettingsService(IPersistentKeyValueCache cache, IBackupSyncTargetsJsonSerializer serializer) { _cache = cache; _serializer = serializer; LoadData(); }
public BackupSyncSettingsServiceTest() { _dbPath = "backupSyncSettingsServiceTest"; _cache = new SqliteKeyValueCache(new SqliteDatabase(new SqliteStorageOptions { Path = $"{_dbPath}.db" })); _serializer = new BackupSyncTargetsJsonSerializer(); }
public RenderingMarkdownSettingsService(IPersistentKeyValueCache cache) { _cache = cache; }