public void IncrementalInitialize(string intermediateFolder, BuildInfo currentBuildInfo, BuildInfo lastBuildInfo, bool forcePostProcess, int maxParallelism) { if (intermediateFolder != null) { var increPostProcessorsContext = new IncrementalPostProcessorsContext(intermediateFolder, currentBuildInfo, lastBuildInfo, _postProcessors, !forcePostProcess, maxParallelism); _postProcessorsHandler = new PostProcessorsHandlerWithIncremental(_postProcessorsHandler, increPostProcessorsContext); } }
public PostProcessorsHandlerWithIncremental(IPostProcessorsHandler innerPostProcessorsHandler, IncrementalPostProcessorsContext increContext) { if (innerPostProcessorsHandler == null) { throw new ArgumentNullException(nameof(innerPostProcessorsHandler)); } if (increContext == null) { throw new ArgumentNullException(nameof(increContext)); } _innerHandler = innerPostProcessorsHandler; _increContext = increContext; }
public IncrementalPostProcessorHost(IncrementalPostProcessorsContext increContext, string postProcessorName, IImmutableList <SourceFileInfo> sourceFileInfos) { if (increContext == null) { throw new ArgumentNullException(nameof(increContext)); } if (postProcessorName == null) { throw new ArgumentNullException(nameof(postProcessorName)); } _increContext = increContext; _postProcessorName = postProcessorName; SourceFileInfos = sourceFileInfos; ShouldTraceIncrementalInfo = _increContext.ShouldTraceIncrementalInfo; IsIncremental = _increContext.IsIncremental; }
public IncrementalPostProcessorHost(IncrementalPostProcessorsContext increContext, string postProcessorName, IImmutableList <SourceFileInfo> sourceFileInfos) { if (increContext == null) { throw new ArgumentNullException(nameof(increContext)); } if (postProcessorName == null) { throw new ArgumentNullException(nameof(postProcessorName)); } _increContext = increContext; _postProcessorName = postProcessorName; SourceFileInfos = sourceFileInfos; ShouldTraceIncrementalInfo = _increContext.ShouldTraceIncrementalInfo; IsIncremental = _increContext.IsIncremental; var b = FileAbstractLayerBuilder.Default; if (increContext.LastBaseDir != null) { b = b.ReadFromRealFileSystem(increContext.LastBaseDir); } _fal = b.WriteToRealFileSystem(increContext.CurrentBaseDir).Create(); }