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 PostProcessorsManager(CompositionHost container, ImmutableArray <string> postProcessorNames) { if (container == null) { throw new ArgumentNullException(nameof(container)); } if (postProcessorNames == null) { throw new ArgumentNullException(nameof(postProcessorNames)); } _postProcessors = GetPostProcessor(container, postProcessorNames); _postProcessorsHandler = new PostProcessorsHandler(); }
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; }