AddSettingsFile(IConfigurationBuilder, NormalizedPath) Method
Adds a settings file with support for JSON, YAML, and XML variants.
Namespace
Statiq.App
Containing Type
IConfigurationBuilderExtensions

Syntax

public static IConfigurationBuilder AddSettingsFile(this IConfigurationBuilder builder, in NormalizedPath path)

Parameters

Name Type Description
builder IConfigurationBuilder The configuration builder.
path NormalizedPath The path or filename of the settings file to add.

Return Value

Type Description
IConfigurationBuilder The configuration builder with the new settings file.