Partajați prin


KeyPerFileConfigurationBuilderExtensions Class

Definition

Extension methods for registering KeyPerFileConfigurationProvider with IConfigurationBuilder.

public ref class KeyPerFileConfigurationBuilderExtensions abstract sealed
public static class KeyPerFileConfigurationBuilderExtensions
type KeyPerFileConfigurationBuilderExtensions = class
Public Module KeyPerFileConfigurationBuilderExtensions
Inheritance
KeyPerFileConfigurationBuilderExtensions

Methods

AddKeyPerFile(IConfigurationBuilder, Action<KeyPerFileConfigurationSource>)

Adds configuration using files from a directory. File names are used as the key, file contents are used as the value.

AddKeyPerFile(IConfigurationBuilder, String)

Adds configuration using files from a directory. File names are used as the key, file contents are used as the value.

AddKeyPerFile(IConfigurationBuilder, String, Boolean)

Adds configuration using files from a directory. File names are used as the key, file contents are used as the value.

AddKeyPerFile(IConfigurationBuilder, String, Boolean, Boolean)

Adds configuration using files from a directory. File names are used as the key, file contents are used as the value.

Applies to