Partager via


ConfigurationBuilder.Add(IConfigurationSource) Méthode

Définition

Ajoute une nouvelle source de configuration.

public:
 virtual Microsoft::Extensions::Configuration::IConfigurationBuilder ^ Add(Microsoft::Extensions::Configuration::IConfigurationSource ^ source);
public Microsoft.Extensions.Configuration.IConfigurationBuilder Add (Microsoft.Extensions.Configuration.IConfigurationSource source);
abstract member Add : Microsoft.Extensions.Configuration.IConfigurationSource -> Microsoft.Extensions.Configuration.IConfigurationBuilder
override this.Add : Microsoft.Extensions.Configuration.IConfigurationSource -> Microsoft.Extensions.Configuration.IConfigurationBuilder
Public Function Add (source As IConfigurationSource) As IConfigurationBuilder

Paramètres

source
IConfigurationSource

Source de configuration à ajouter.

Retours

IConfigurationBuilder identique.

Implémente

S’applique à