इसके माध्यम से साझा किया गया


KeyPerFileConfigurationSource Class

Definition

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
Inheritance
KeyPerFileConfigurationSource
Implements

Constructors

KeyPerFileConfigurationSource()

Constructor;

Properties

FileProvider

The FileProvider whos root "/" directory files will be used as configuration data.

IgnoreCondition

Used to determine if a file should be ignored using its name. Defaults to using the IgnorePrefix.

IgnorePrefix

Files that start with this prefix will be excluded. Defaults to "ignore.".

Optional

If false, will throw if the directory doesn't exist.

ReloadDelay

Number of milliseconds that reload will wait before calling Load. This helps avoid triggering reload before a file is completely written. Default is 250.

ReloadOnChange

Determines whether the source will be loaded if the underlying file changes.

SectionDelimiter

The delimiter used to separate individual keys in a path.

Methods

Build(IConfigurationBuilder)

Builds the KeyPerFileConfigurationProvider for this source.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to