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 SourceCurrentConfiguration
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 SourceGetConfigurationFactory()
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 |
---|---|
System.ArgumentNullException | The |