Edytuj

Udostępnij za pośrednictwem


SiloHostBuilderExtensions.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 static Orleans.Hosting.ISiloHostBuilder ConfigureAppConfiguration (this Orleans.Hosting.ISiloHostBuilder hostBuilder, Action<Microsoft.Extensions.Configuration.IConfigurationBuilder> configureDelegate);
static member ConfigureAppConfiguration : Orleans.Hosting.ISiloHostBuilder * Action<Microsoft.Extensions.Configuration.IConfigurationBuilder> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function ConfigureAppConfiguration (hostBuilder As ISiloHostBuilder, configureDelegate As Action(Of IConfigurationBuilder)) As ISiloHostBuilder

Parameters

hostBuilder
ISiloHostBuilder

The host builder to configure.

configureDelegate
Action<IConfigurationBuilder>

Returns

The same instance of the host builder for chaining.

Applies to