Configuration Class

Configuration class

Represents the configuration context object that is used to set up the environment settings for the application.

public class Configuration : IDisposable, IServiceProvider

Constructors

NameDescription
Configuration()Initializes a new instance of the Configuration class.

Properties

NameDescription
Security { get; set; }Gets or sets the sandboxing flag of the configuration.

Methods

NameDescription
static Create()Create and configure the instance of Configuration object.
static Create(Action<IConfigurationBuilder>)Create and configure the instance of Configuration object.
Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
GetService(Type)Gets the requested service.
GetService<T>()Gets the requested service.
static SetExtension(IConfigurationExtension)Sets the extension for the configuration.

See Also