コード例 #1
0
        /// <nodoc />
        public VirtualizedContentStore(IContentStore innerStore, Logger logger, VfsCasConfiguration configuration)
        {
            _logger        = logger;
            _innerStore    = innerStore;
            _configuration = configuration;

            Tree = new VfsTree(_configuration);
        }
コード例 #2
0
ファイル: VfsContentManager.cs プロジェクト: erikma/BuildXL
 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");
 }
コード例 #3
0
        /// <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);
        }