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; }This property allows you to set a number of restrictions on the content loaded in the frame, for example, block forms and scripts. Refer to article about sandboxing.

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()Gets the requested service.
static SetExtension(IConfigurationExtension)Sets the extension for the configuration.

See Also