Bewerken

Delen via


SiloHostBuilder.ConfigureAppConfiguration Method

Definition

Sets up the configuration for the remainder of the build process and application. This can be called multiple times and the results will be additive. The results will be available at Configuration for subsequent operations, as well as in Services.

public Orleans.Hosting.ISiloHostBuilder ConfigureAppConfiguration (Action<Orleans.Hosting.HostBuilderContext,Microsoft.Extensions.Configuration.IConfigurationBuilder> configureDelegate);
abstract member ConfigureAppConfiguration : Action<Orleans.Hosting.HostBuilderContext, Microsoft.Extensions.Configuration.IConfigurationBuilder> -> Orleans.Hosting.ISiloHostBuilder
override this.ConfigureAppConfiguration : Action<Orleans.Hosting.HostBuilderContext, Microsoft.Extensions.Configuration.IConfigurationBuilder> -> Orleans.Hosting.ISiloHostBuilder
Public Function ConfigureAppConfiguration (configureDelegate As Action(Of HostBuilderContext, IConfigurationBuilder)) As ISiloHostBuilder

Parameters

configureDelegate
Action<HostBuilderContext,IConfigurationBuilder>

The delegate for configuring the IConfigurationBuilder that will be used to construct the IConfiguration for the application.

Returns

The same instance of the host builder for chaining.

Implements

Applies to