Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface IConfigurationFactory

    Contract for extending the functionality of system properties by providing an application-defined IConfiguration instance.

    Usage: Implement this interface and set the implementation at application startup using SetConfigurationFactory(IConfigurationFactory).
    Namespace: Lucene.Net.Configuration
    Assembly: Lucene.Net.dll
    Syntax
    [CLSCompliant(false)]
    public interface IConfigurationFactory

    Methods

    GetConfiguration()

    Gets or creates an instance of IConfiguration that Lucene.NET can use to read application-defined settings.

    The implementation is responsible for the lifetime of the IConfiguration instance. A typical implementation will either get the instance from a dependency injection container or provide its own caching mechanism to ensure the settings are not reloaded each time the method is called.
    Declaration
    IConfiguration GetConfiguration()
    Returns
    Type Description
    IConfiguration

    The current IConfiguration instance.

    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.