Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ConfigurationSettings

    Provides access to the application's configuration settings.

    Inheritance
    System.Object
    ConfigurationSettings
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Configuration
    Assembly: Lucene.Net.dll
    Syntax
    public static class ConfigurationSettings

    Properties

    | Improve this Doc View Source

    CurrentConfiguration

    Returns the current configuration

    Declaration
    [CLSCompliant(false)]
    public static IConfiguration CurrentConfiguration { get; }
    Property Value
    Type Description
    Microsoft.Extensions.Configuration.IConfiguration

    Methods

    | Improve this Doc View Source

    GetConfigurationFactory()

    Gets the associated IConfigurationFactory factory.

    Declaration
    [CLSCompliant(false)]
    public static IConfigurationFactory GetConfigurationFactory()
    Returns
    Type Description
    IConfigurationFactory

    The IConfigurationFactory factory.

    | Improve this Doc View Source

    SetConfigurationFactory(IConfigurationFactory)

    Sets the IConfigurationFactory instance used to instantiate ConfigurationSettings subclasses.

    Declaration
    [CLSCompliant(false)]
    public static void SetConfigurationFactory(IConfigurationFactory configurationFactory)
    Parameters
    Type Name Description
    IConfigurationFactory configurationFactory

    The new IConfigurationFactory.

    Exceptions
    Type Condition
    System.ArgumentNullException

    The configurationFactory parameter is null.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 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.