Class ConfigurationEnabledDirectoryFactory
An Examine directory factory implementation based on configured values
Inheritance
object
DirectoryFactoryBase
Namespace: Umbraco.Cms.Infrastructure.Examine
Assembly: Umbraco.Examine.Lucene.dll
Syntax
public class ConfigurationEnabledDirectoryFactory : DirectoryFactoryBase
Constructors
View SourceConfigurationEnabledDirectoryFactory(IServiceProvider, IOptions<IndexCreatorSettings>, IApplicationRoot)
Declaration
public ConfigurationEnabledDirectoryFactory(IServiceProvider services, IOptions<IndexCreatorSettings> settings, IApplicationRoot applicationRoot)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceProvider | services | |
| IOptions<IndexCreatorSettings> | settings | |
| IApplicationRoot | applicationRoot |
Methods
View SourceCreateDirectory(LuceneIndex, bool)
Declaration
protected override Directory CreateDirectory(LuceneIndex luceneIndex, bool forceUnlock)
Parameters
| Type | Name | Description |
|---|---|---|
| LuceneIndex | luceneIndex | |
| bool | forceUnlock |
Returns
| Type | Description |
|---|---|
| Directory |