Example #1
0
 public void ProcessManifest(List <HostService> hostServices, int maxParallelism)
 {
     if (Context != null)
     {
         var manifestProcessor = new ManifestProcessor(_manifestWithContext, Context, TemplateProcessor);
         manifestProcessor.Process();
     }
 }
Example #2
0
        public void Handle(List <HostService> hostServices, int maxParallelism)
        {
            foreach (var hostService in hostServices)
            {
                using (new LoggerPhaseScope(hostService.Processor.Name, LogLevel.Verbose))
                {
                    Logger.LogVerbose($"Processor {hostService.Processor.Name}: Postbuilding...");
                    using (new LoggerPhaseScope("Postbuild", LogLevel.Verbose))
                    {
                        Postbuild(hostService);
                    }
                }
            }

            if (Context != null)
            {
                var manifestProcessor = new ManifestProcessor(hostServices, Context, TemplateProcessor);
                manifestProcessor.Process();
            }
        }