SiloHostBuilder.ConfigureContainer<TContainerBuilder> 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.
Enables configuring the instantiated dependency container. This can be called multiple times and the results will be additive.
public Orleans.Hosting.ISiloHostBuilder ConfigureContainer<TContainerBuilder> (Action<Orleans.Hosting.HostBuilderContext,TContainerBuilder> configureDelegate);
abstract member ConfigureContainer : Action<Orleans.Hosting.HostBuilderContext, 'ContainerBuilder> -> Orleans.Hosting.ISiloHostBuilder
override this.ConfigureContainer : Action<Orleans.Hosting.HostBuilderContext, 'ContainerBuilder> -> Orleans.Hosting.ISiloHostBuilder
Public Function ConfigureContainer(Of TContainerBuilder) (configureDelegate As Action(Of HostBuilderContext, TContainerBuilder)) As ISiloHostBuilder
Type Parameters
- TContainerBuilder
Parameters
- configureDelegate
- Action<HostBuilderContext,TContainerBuilder>
Returns
The same instance of the host builder for chaining.