Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ConfigurationSettings

    Provides access to the application's configuration settings.

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

    Properties

    CurrentConfiguration

    Returns the current configuration

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

    Methods

    GetConfigurationFactory()

    Gets the associated IConfigurationFactory factory.

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

    The IConfigurationFactory factory.

    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
    ArgumentNullException

    The configurationFactory parameter is null.

    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.