Taal

EnvironmentVariablesConfigurationSource Klas

Definitie

Vertegenwoordigt omgevingsvariabelen als een IConfigurationSource.

public ref class EnvironmentVariablesConfigurationSource : Microsoft::Extensions::Configuration::IConfigurationSource
public class EnvironmentVariablesConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource
type EnvironmentVariablesConfigurationSource = class
    interface IConfigurationSource
Public Class EnvironmentVariablesConfigurationSource
Implements IConfigurationSource
Overname
EnvironmentVariablesConfigurationSource
Implementeringen

Constructors

Name Description
EnvironmentVariablesConfigurationSource()

Initialiseert een nieuw exemplaar van EnvironmentVariablesConfigurationSource.

Eigenschappen

Name Description
ColonAndDotTransformation

Een transformatie die drievoudige onderstrepingstekens (_) vervangt door een punt (.) en dubbele onderstrepingstekens () door het scheidingsteken voor de configuratiesleutel ().:

DefaultTransformation

De standaardtransformatie die dubbele onderstrepingstekens (__) vervangt door het scheidingsteken voor de configuratiesleutel (:).

Prefix

Een voorvoegsel dat wordt gebruikt om omgevingsvariabelen te filteren.

VariableNameTransformation

Hiermee haalt u een functie op waarmee namen van omgevingsvariabelen worden getransformeerd of ingesteld. Wanneer deze transformatie is ingesteld, vervangt deze transformatie het standaardgedrag van het converteren van dubbele onderstrepingstekens naar het scheidingsteken voor de configuratiesleutel. Wanneer null, DefaultTransformation wordt gebruikt.

Methoden

Name Description
Build(IConfigurationBuilder)

Hiermee wordt de EnvironmentVariablesConfigurationProvider voor deze bron gebouwd.

Van toepassing op