Пример #1
0
        private void Prebuild(IDocumentProcessor processor, HostService hostService)
        {
            var models = processor.Prebuild(hostService.Models, hostService);

            if (!object.ReferenceEquals(models, hostService.Models))
            {
                hostService.Reload(models);
            }
        }
Пример #2
0
 private void Prebuild(IDocumentProcessor processor, HostService hostService)
 {
     var models = processor.Prebuild(hostService.Models, hostService);
     if (!object.ReferenceEquals(models, hostService.Models))
     {
         hostService.Reload(models);
     }
 }