Exemple #1
0
        private void CreateStorage()
        {
            DirectoryInfo rootDirectory = new DirectoryInfo(
                Path.Combine(_baseDirectoryPathSupplier.Get().FullName, _baseDirectoryName));

            CreateRootDirectoryIfNecessary(rootDirectory);
            IDiskStorage storage = new DefaultDiskStorage(
                rootDirectory, _version, _cacheErrorLogger, _clock);

            _currentState = new State(rootDirectory, storage);
        }
Exemple #2
0
 public InserterImpl(DefaultDiskStorage parent, string resourceId, FileInfo temporaryFile)
 {
     _parent        = parent;
     _resourceId    = resourceId;
     _temporaryFile = temporaryFile;
 }
Exemple #3
0
 public PurgingVisitor(DefaultDiskStorage parent)
 {
     _parent = parent;
 }
Exemple #4
0
 public EntriesCollector(DefaultDiskStorage parent)
 {
     _parent = parent;
 }