예제 #1
0
 private void BuildArticle(IDocumentProcessor processor, HostService hostService)
 {
     hostService.Models.RunAll(m =>
     {
         using (new LoggerFileScope(m.OriginalFileAndType.File))
         {
             Logger.LogVerbose($"Plug-in {processor.Name}: Building...");
             processor.Build(m, hostService);
         }
     });
 }
예제 #2
0
 private void BuildArticle(IDocumentProcessor processor, HostService hostService)
 {
     hostService.Models.RunAll(m =>
     {
         using (new LoggerFileScope(m.OriginalFileAndType.File))
         {
             Logger.LogVerbose($"Plug-in {processor.Name}: Building...");
             processor.Build(m, hostService);
         }
     });
 }