Adds a settings file with support for JSON, YAML, and XML variants.
- Namespace
- Statiq
.App - Containing Type
- I
Configuration Builder Extensions
Syntax
public static IConfigurationBuilder AddSettingsFile(this IConfigurationBuilder builder, in NormalizedPath path)
Parameters
Name | Type | Description |
---|---|---|
builder | I |
The configuration builder. |
path | NormalizedPath | The path or filename of the settings file to add. |
Return Value
Type | Description |
---|---|
I |
The configuration builder with the new settings file. |