Example #1
0
 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);
     }
 }
Example #2
0
 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();
 }
Example #3
0
 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;
 }