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

Inheritance: IDocumentIndexProvider
Mostrar archivo Open project: TargetProcess/Target-Process-Plugins

Public Methods

Method Description
DocumentIndexProvider ( IActivityLoggerFactory loggerFactory, DocumentIndexSetup documentIndexSetup, DocumentIndexMetadata documentIndexMetadata, DocumentIndexOptimizeHintFactory optimizeHintFactory ) : System
GetDocumentIndex ( IPluginContext context, DocumentIndexTypeToken indexTypeToken ) : Maybe
GetOrCreateDocumentIndex ( IPluginContext context, DocumentIndexTypeToken indexTypeToken ) : IDocumentIndex
GetOrCreateDocumentIndexes ( IPluginContext context ) : IEnumerable

Private Methods

Method Description
CreateDocumentIndex ( IPluginContext context, DocumentIndexTypeToken documentIndexTypeToken, int version = null ) : IDocumentIndex
DoGetDocumentIndex ( IPluginContext context, DocumentIndexTypeToken documentIndexTypeToken ) : Maybe
DoGetOrCreateDocumentIndex ( IPluginContext context, DocumentIndexTypeToken documentIndexTypeToken ) : IDocumentIndex

Method Details

DocumentIndexProvider() public method

public DocumentIndexProvider ( IActivityLoggerFactory loggerFactory, DocumentIndexSetup documentIndexSetup, DocumentIndexMetadata documentIndexMetadata, DocumentIndexOptimizeHintFactory optimizeHintFactory ) : System
loggerFactory IActivityLoggerFactory
documentIndexSetup DocumentIndexSetup
documentIndexMetadata DocumentIndexMetadata
optimizeHintFactory DocumentIndexOptimizeHintFactory
return System

GetDocumentIndex() public method

public GetDocumentIndex ( IPluginContext context, DocumentIndexTypeToken indexTypeToken ) : Maybe
context IPluginContext
indexTypeToken DocumentIndexTypeToken
return Maybe

GetOrCreateDocumentIndex() public method

public GetOrCreateDocumentIndex ( IPluginContext context, DocumentIndexTypeToken indexTypeToken ) : IDocumentIndex
context IPluginContext
indexTypeToken DocumentIndexTypeToken
return IDocumentIndex

GetOrCreateDocumentIndexes() public method

public GetOrCreateDocumentIndexes ( IPluginContext context ) : IEnumerable
context IPluginContext
return IEnumerable