public BackupSyncSettingsService(IPersistentKeyValueCache cache, IBackupSyncTargetsJsonSerializer serializer)
        {
            _cache      = cache;
            _serializer = serializer;

            LoadData();
        }
예제 #2
0
 public BackupSyncSettingsServiceTest()
 {
     _dbPath = "backupSyncSettingsServiceTest";
     _cache  = new SqliteKeyValueCache(new SqliteDatabase(new SqliteStorageOptions {
         Path = $"{_dbPath}.db"
     }));
     _serializer = new BackupSyncTargetsJsonSerializer();
 }
예제 #3
0
 public RenderingMarkdownSettingsService(IPersistentKeyValueCache cache)
 {
     _cache = cache;
 }