C# Class NuGet.Indexing.ConfigurationExtensions

Afficher le fichier Open project: NuGet/NuGet.Services.Metadata

Méthodes publiques

Méthode Description
Get ( this configuration, string key, bool defaultValue ) : bool

Tries to get a value from the configuration service.

Method Details

Get() public static méthode

Tries to get a value from the configuration service.
public static Get ( this configuration, string key, bool defaultValue ) : bool
configuration this The current IConfiguration instance.
key string The configuration key to fetch the value for.
defaultValue bool The value that will be used if the key is not found.
Résultat bool