Example #1
0
        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;
            }
        }
Example #2
0
 public void Open(string path)
 {
     _path = path;
     _file = FixedFile <BinaryDataStorageClass> .Open(path);
 }