Share via


ConfigurationRoot(IList<IConfigurationProvider>) Constructor

Definition

Initializes a Configuration root with a list of providers.

public:
 ConfigurationRoot(System::Collections::Generic::IList<Microsoft::Extensions::Configuration::IConfigurationProvider ^> ^ providers);
public ConfigurationRoot (System.Collections.Generic.IList<Microsoft.Extensions.Configuration.IConfigurationProvider> providers);
new Microsoft.Extensions.Configuration.ConfigurationRoot : System.Collections.Generic.IList<Microsoft.Extensions.Configuration.IConfigurationProvider> -> Microsoft.Extensions.Configuration.ConfigurationRoot
Public Sub New (providers As IList(Of IConfigurationProvider))

Parameters

providers
IList<IConfigurationProvider>

The IConfigurationProviders for this configuration.

Exceptions

providers is null.

Applies to