internal int CountReversalIndexEntries(IReversalIndex ri)
 {
     int[] entries;
     using (ReversalIndexActivator.ActivateReversalIndex(ri.Guid, m_mediator))
         ConfiguredXHTMLGenerator.GetPublicationDecoratorAndEntries(m_mediator, out entries, ReversalType);
     return(entries.Length);
 }
 public void ExportReversalContent(string xhtmlPath, string reversalWs = null, DictionaryConfigurationModel configuration = null,
                                   IThreadedProgress progress          = null)
 {
     using (ClerkActivator.ActivateClerkMatchingExportType(ReversalType, m_mediator))
         using (ReversalIndexActivator.ActivateReversalIndex(reversalWs, m_mediator, m_cache))
         {
             configuration = configuration ?? new DictionaryConfigurationModel(
                 DictionaryConfigurationListener.GetCurrentConfiguration(m_mediator, "ReversalIndex"), m_cache);
             ExportConfiguredXhtml(xhtmlPath, configuration, ReversalType, progress);
         }
 }