/// <nodoc /> public VirtualizedContentStore(IContentStore innerStore, Logger logger, VfsCasConfiguration configuration) { _logger = logger; _innerStore = innerStore; _configuration = configuration; Tree = new VfsTree(_configuration); }
public VfsContentManager(ILogger logger, VfsCasConfiguration configuration, VfsTree tree, IContentSession contentSession) { _logger = logger; _configuration = configuration; Tree = tree; _contentSession = contentSession; _fileSystem = new PassThroughFileSystem(); _tempDirectory = new DisposableDirectory(_fileSystem, configuration.DataRootPath / "temp"); }
/// <nodoc /> public VfsContentManager(ILogger logger, VfsCasConfiguration configuration, IReadOnlyContentSession placer) { Tree = new VfsTree(configuration); _logger = logger; _configuration = configuration; _placer = placer; _fileSystem = new PassThroughFileSystem(); _tempDirectory = new DisposableDirectory(_fileSystem, configuration.DataRootPath / "temp"); Provider = new VfsProvider(logger, configuration, this); }