예제 #1
0
        private void Postbuild(IDocumentProcessor processor, HostService hostService)
        {
            var models = processor.Postbuild(hostService.Models, hostService);

            if (!object.ReferenceEquals(models, hostService.Models))
            {
                Logger.LogVerbose($"Plug-in {processor.Name}: Reloading models...");
                hostService.Reload(models);
            }
        }
예제 #2
0
 private void Postbuild(IDocumentProcessor processor, HostService hostService)
 {
     var models = processor.Postbuild(hostService.Models, hostService);
     if (!object.ReferenceEquals(models, hostService.Models))
     {
         Logger.LogVerbose($"Plug-in {processor.Name}: Reloading models...");
         hostService.Reload(models);
     }
 }