Sprache

EnvironmentVariablesConfigurationSource Klasse

Definition

Stellt Umgebungsvariablen als .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
Vererbung
EnvironmentVariablesConfigurationSource
Implementiert

Konstruktoren

Name Beschreibung
EnvironmentVariablesConfigurationSource()

Initialisiert eine neue instance von EnvironmentVariablesConfigurationSource.

Eigenschaften

Name Beschreibung
ColonAndDotTransformation

Eine Transformation, die dreifache Unterstriche (_) durch einen Punkt (.) und doppelte Unterstriche () durch das Trennzeichen des Konfigurationsschlüssels (:) ersetzt.

DefaultTransformation

Die Standardtransformation, die doppelte Unterstriche (__) durch das Trennzeichen des Konfigurationsschlüssels (:) ersetzt.

Prefix

Ein Präfix zum Filtern von Umgebungsvariablen.

VariableNameTransformation

Dient zum Abrufen oder Festlegen einer Funktion, die Umgebungsvariablennamen transformiert. Bei Festlegung ersetzt diese Transformation das Standardverhalten der Konvertierung doppelter Unterstriche in das Trennzeichen des Konfigurationsschlüssels. Wenn null, DefaultTransformation wird verwendet.

Methoden

Name Beschreibung
Build(IConfigurationBuilder)

Erstellt die EnvironmentVariablesConfigurationProvider Quelle für diese Quelle.

Gilt für: