ExecutionConfigurationBuilderExtensions.WithEnvironmentVariablesConfig Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an environment variables configuration gatherer to the builder.
public static Aspire.Hosting.ApplicationModel.IExecutionConfigurationBuilder WithEnvironmentVariablesConfig(this Aspire.Hosting.ApplicationModel.IExecutionConfigurationBuilder builder);
static member WithEnvironmentVariablesConfig : Aspire.Hosting.ApplicationModel.IExecutionConfigurationBuilder -> Aspire.Hosting.ApplicationModel.IExecutionConfigurationBuilder
<Extension()>
Public Function WithEnvironmentVariablesConfig (builder As IExecutionConfigurationBuilder) As IExecutionConfigurationBuilder
Parameters
- builder
- IExecutionConfigurationBuilder
The builder to add the configuration gatherer to.
Returns
The builder with the configuration gatherer added.