Skip to content

TestClusterBuilder.ConfigureHostConfiguration(Action<IConfigurationBuilder>)

ConfigureHostConfiguration(Action<IConfigurationBuilder>)

View source
public TestClusterBuilder ConfigureHostConfiguration(Action<IConfigurationBuilder> configureDelegate)
Set up the configuration for the builder itself. This will be used as a base to initialize each silo host for use later in the build process. This can be called multiple times and the results will be additive.

Parameters

configureDelegateAction<IConfigurationBuilder>
The delegate for configuring the Microsoft.Extensions.Configuration.IConfigurationBuilder that will be used to construct the Microsoft.Extensions.Configuration.IConfiguration for the host.

Returns

The same instance of the host builder for chaining.