private void PostHandle(List <HostService> hostServices)
        {
            using (new LoggerPhaseScope("ProcessUnloadedTemplateDependency", LogLevel.Verbose))
            {
                ProcessUnloadedTemplateDependency(hostServices);
            }

            using (new LoggerPhaseScope("UpdateManifest", LogLevel.Verbose))
            {
                UpdateManifest();
            }

            using (new LoggerPhaseScope("UpdateFileMap", LogLevel.Verbose))
            {
                UpdateFileMap(hostServices);
            }

            using (new LoggerPhaseScope("UpdateXrefMap", LogLevel.Verbose))
            {
                UpdateXrefMap(hostServices);
            }

            using (new LoggerPhaseScope("SaveContextInfo", LogLevel.Verbose))
            {
                SaveContextInfo(hostServices);
            }

            using (new LoggerPhaseScope("RelayBuildMessage", LogLevel.Verbose))
            {
                BuildPhaseUtility.RelayBuildMessage(IncrementalContext, hostServices, Phase);
            }

            Logger.UnregisterListener(CurrentBuildMessageInfo.GetListener());
        }
Beispiel #2
0
 private void PostHandle(List <HostService> hostServices)
 {
     ReportReference(hostServices);
     ReportDependency(hostServices);
     UpdateTocRestructions(hostServices);
     CurrentBuildVersionInfo.Dependency.ResolveReference();
     foreach (var h in hostServices.Where(h => h.ShouldTraceIncrementalInfo))
     {
         h.SaveIntermediateModel(IncrementalContext);
     }
     IncrementalContext.UpdateBuildVersionInfoPerDependencyGraph();
     BuildPhaseUtility.RelayBuildMessage(IncrementalContext, hostServices, Phase);
     Logger.UnregisterListener(CurrentBuildMessageInfo.GetListener());
 }