KeyPerFileConfigurationSource Klas

Definitie

Een IConfigurationSource gebruikt om te configureren KeyPerFileConfigurationProvider.

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

Constructors

Name Description
KeyPerFileConfigurationSource()

Constructor;

Eigenschappen

Name Description
FileProvider

De FileProvider die hoofdmapbestanden '/' is, wordt gebruikt als configuratiegegevens.

IgnoreCondition

Wordt gebruikt om te bepalen of een bestand moet worden genegeerd met behulp van de naam. Standaard wordt de IgnorePrefix gebruikt.

IgnorePrefix

Bestanden die met dit voorvoegsel beginnen, worden uitgesloten. De standaardinstelling is 'negeren.'.

Optional

Als dit onwaar is, wordt deze gegenereerd als de map niet bestaat.

ReloadDelay

Het aantal milliseconden dat opnieuw wordt geladen, wacht voordat u Laden aanroept. Dit helpt voorkomen dat het opnieuw laden wordt geactiveerd voordat een bestand volledig is geschreven. De standaardwaarde is 250.

ReloadOnChange

Bepaalt of de bron wordt geladen als het onderliggende bestand wordt gewijzigd.

SectionDelimiter

Het scheidingsteken dat wordt gebruikt om afzonderlijke sleutels in een pad te scheiden.

Methoden

Name Description
Build(IConfigurationBuilder)

Hiermee wordt de KeyPerFileConfigurationProvider voor deze bron gebouwd.

Van toepassing op