public void Open(string path) { lock (_lock) { _path = path; _file = FixedFile <BinaryStorageClass> .Open(path); _binaries = _file.GetRecords().ToDictionary(r => r.Id); PerformRecovery(); _nextIndex = FindMaxFileIndex() + 1; } }
public void Open(string path) { _path = path; _file = FixedFile <BinaryDataStorageClass> .Open(path); }