public FSTextStoreProvider(string path, CharSubstitutor keyCharsubstitutor = null) { DI = new DirectoryInfo(path); if (!DI.Exists) { DI.Create(); } KeyCharSubstitutor = keyCharsubstitutor ?? KeyCharSubstitutorDefault; KeyCleaner = new KVSExpiredKeyCleaner(this, lockPrefix + "KC", new TimeSpan(1, 0, 0, 0)); }
static FSTextStoreProvider() { KeyCharSubstitutorDefault = new CharSubstitutor(); KeyCharSubstitutorDefault.SubstitutionTable.Add(':', '`'); }