Contexts: Configuration¶
This page mirrors the Configuration section from Contexts.
SetConfigurationFile¶
Source file, signature, and docstring
Member
ContextBuilder.SetConfigurationFile(string? configurationFile)
Kind function
Declaring Type ContextBuilder
Source File QaaS.Framework.SDK/ContextObjects/ContextBuilder.cs
Signature
Docstring
Sets the base configuration file used by the context builder.
Use this when the base configuration file should be selected or replaced after the builder has been created.
WithOverwriteFile¶
Source file, signature, and docstring
Member
ContextBuilder.WithOverwriteFile(string? overwriteFile)
Kind function
Declaring Type ContextBuilder
Source File QaaS.Framework.SDK/ContextObjects/ContextBuilder.cs
Signature
Docstring
Adds an overwrite file that should be applied during context construction.
Overwrite files are applied after the base configuration and before the final configuration is built.
WithOverwriteFolder¶
Source file, signature, and docstring
Member
ContextBuilder.WithOverwriteFolder(string? overwriteFolder)
Kind function
Declaring Type ContextBuilder
Source File QaaS.Framework.SDK/ContextObjects/ContextBuilder.cs
Signature
Docstring
Adds an overwrite folder whose YAML files should be applied during context construction.
Every YAML file discovered in the folder is applied as an overwrite source in the order returned by the file-system enumeration.
SetCase¶
Source file, signature, and docstring
Member
ContextBuilder.SetCase(string? caseFile)
Kind function
Declaring Type ContextBuilder
Source File QaaS.Framework.SDK/ContextObjects/ContextBuilder.cs
Signature
Docstring
Sets the case file used during context construction.
The supplied value is also stored as the case name on the built context.
WithOverwriteArgument¶
Source file, signature, and docstring
Member
ContextBuilder.WithOverwriteArgument(string? argument)
Kind function
Declaring Type ContextBuilder
Source File QaaS.Framework.SDK/ContextObjects/ContextBuilder.cs
Signature
Docstring
Adds a command-line style overwrite argument to the context builder.
Use this when command-line style overrides should participate in the same configuration pipeline as YAML sources.
WithReferenceResolution¶
Source file, signature, and docstring
Member
ContextBuilder.WithReferenceResolution(ReferenceConfig referenceConfig)
Kind function
Declaring Type ContextBuilder
Source File QaaS.Framework.SDK/ContextObjects/ContextBuilder.cs
Signature
Docstring
Adds a reference-resolution rule to the context builder.
Reference-resolution rules are applied while building the final configuration so linked configuration values can be expanded consistently.
WithEnvironmentVariableResolution¶
Source file, signature, and docstring
Member
ContextBuilder.WithEnvironmentVariableResolution()
Kind function
Declaring Type ContextBuilder
Source File QaaS.Framework.SDK/ContextObjects/ContextBuilder.cs
Signature
Docstring
Enables environment-variable expansion while the context is being built.
Enable this when configuration values should resolve environment variables while the context is being built.