Skip to content

Extension Methods: Configuration

This page mirrors the Configuration section from Extension Methods.

Placeholders

AddPlaceholderResolver

Source file, signature, and docstring

Member PlaceholderConfigurationBuilderExtension.AddPlaceholderResolver(this IConfigurationBuilder configurationBuilder)

Kind function

Declaring Type PlaceholderConfigurationBuilderExtension (extension type)

Source File QaaS.Framework.Configurations/ConfigurationBuilderExtensions/PlaceholderConfigurationBuilderExtension.cs

Signature

public static IConfigurationBuilder AddPlaceholderResolver(this IConfigurationBuilder configurationBuilder)

Docstring

Adds the placeholder-resolving configuration source to the configuration builder.

Call this extension before building IConfiguration when placeholder expansion should be applied as part of the configuration pipeline.

YAML

AddYamlFromHttpGet

Source file, signature, and docstring

Member YamlConfigurationBuilderExtension.AddYamlFromHttpGet(this IConfigurationBuilder builder, string yamlUrl, TimeSpan? timeout = null)

Kind function

Declaring Type YamlConfigurationBuilderExtension (extension type)

Source File QaaS.Framework.Configurations/ConfigurationBuilderExtensions/YamlConfigurationBuilderExtension.cs

Signature

public static IConfigurationBuilder AddYamlFromHttpGet(this IConfigurationBuilder builder, string yamlUrl, TimeSpan? timeout = null)

Docstring

Adds a YAML configuration source that is loaded through HTTP GET.

Call this extension during configuration bootstrap when YAML should be loaded remotely instead of from the local file system.

AddYaml

Source file, signature, and docstring

Member YamlConfigurationBuilderExtension.AddYaml(this IConfigurationBuilder builder, string yamlPath)

Kind function

Declaring Type YamlConfigurationBuilderExtension (extension type)

Source File QaaS.Framework.Configurations/ConfigurationBuilderExtensions/YamlConfigurationBuilderExtension.cs

Signature

public static IConfigurationBuilder AddYaml(this IConfigurationBuilder builder, string yamlPath)

Docstring

Adds a YAML configuration source from a local file path or URL.

Call this extension during configuration bootstrap so YAML sources go through the same QaaS-aware loading path for files and remote URLs.