Exemple #1
0
 //===============================================================
 public FileSystemModify(IEnumerable <object> keys, T value, Action <T> modifier, FileSystemInterface <T> fsInterface)
     : base(keys, value, modifier)
 {
     FileSystemInterface = fsInterface;
 }
Exemple #2
0
 //===============================================================
 public FileSystemRepository(String name, Func <T, object[]> keySelector, FileSystemOptions <T> options = null)
     : base(keySelector)
 {
     options             = options ?? new FileSystemOptions <T>();
     FileSystemInterface = new FileSystemInterface <T>(name, keySelector, options);
 }
Exemple #3
0
 //===============================================================
 public FileSystemRemoveAll(FileSystemInterface <T> fsInterface)
 {
     FileSystemInterface = fsInterface;
 }
Exemple #4
0
 //===============================================================
 public FileSystemRemove(IEnumerable <object> keys, FileSystemInterface <T> fsInterface)
     : base(keys)
 {
     FileSystemInterface = fsInterface;
 }
Exemple #5
0
 //================================================================================
 public FileSystemBatchInsert(IEnumerable <KeyValuePair <IEnumerable <object>, T> > keyValuePairs, FileSystemInterface <T> fsInterface)
     : base(keyValuePairs)
 {
     FileSystemInterface = fsInterface;
 }
Exemple #6
0
 //===============================================================
 public FileSystemInsert(IEnumerable <object> keys, T value, FileSystemInterface <T> fsInterface)
     : base(keys, value)
 {
     FileSystemInterface = fsInterface;
 }
Exemple #7
0
 //===============================================================
 public void CreateBackup()
 {
     FileSystemInterface.CreateBackup();
 }