Class ConfigurationSettings
Provides access to the application's configuration settings.
Inherited Members
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 |