C# Class Tp.Search.Model.Document.DocumentIndexProviderServices

Show file Open project: TargetProcess/Target-Process-Plugins

Public Methods

Method Description
OptimizeDocumentIndexesIfRunning ( this documentIndexProvider, IPluginContext context, IActivityLogger logger ) : void
ShutdownDocumentIndexes ( this documentIndexProvider, IPluginContext context, DocumentIndexShutdownSetup setup, IActivityLogger logger ) : void
ShutdownDocumentIndexesIfRunning ( this documentIndexProvider, IPluginContext context, DocumentIndexShutdownSetup setup, IActivityLogger logger ) : void

Private Methods

Method Description
GetDocumentIndexes ( IDocumentIndexProvider documentIndexProvider, IPluginContext context, bool runningOnly ) : IEnumerable

Method Details

OptimizeDocumentIndexesIfRunning() public static method

public static OptimizeDocumentIndexesIfRunning ( this documentIndexProvider, IPluginContext context, IActivityLogger logger ) : void
documentIndexProvider this
context IPluginContext
logger IActivityLogger
return void

ShutdownDocumentIndexes() public static method

public static ShutdownDocumentIndexes ( this documentIndexProvider, IPluginContext context, DocumentIndexShutdownSetup setup, IActivityLogger logger ) : void
documentIndexProvider this
context IPluginContext
setup DocumentIndexShutdownSetup
logger IActivityLogger
return void

ShutdownDocumentIndexesIfRunning() public static method

public static ShutdownDocumentIndexesIfRunning ( this documentIndexProvider, IPluginContext context, DocumentIndexShutdownSetup setup, IActivityLogger logger ) : void
documentIndexProvider this
context IPluginContext
setup DocumentIndexShutdownSetup
logger IActivityLogger
return void