Search Results for

    Show / Hide Table of Contents
    View Source

    Class ConfigurationEnabledDirectoryFactory

    An Examine directory factory implementation based on configured values

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.Examine
    Assembly: Umbraco.Examine.Lucene.dll
    Syntax
    public class ConfigurationEnabledDirectoryFactory : DirectoryFactoryBase

    Constructors

    View Source

    ConfigurationEnabledDirectoryFactory(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 Source

    CreateDirectory(LuceneIndex, Boolean)

    Declaration
    protected override Lucene.Net.Store.Directory CreateDirectory(LuceneIndex luceneIndex, bool forceUnlock)
    Parameters
    Type Name Description
    LuceneIndex luceneIndex
    System.Boolean forceUnlock
    Returns
    Type Description
    Lucene.Net.Store.Directory
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ConfigurationEnabledDirectoryFactory(IServiceProvider, IOptions<IndexCreatorSettings>, IApplicationRoot)
    • Methods
      • CreateDirectory(LuceneIndex, Boolean)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX