Edytuj

Udostępnij za pośrednictwem


SiloHostBuilder.ConfigureContainer<TContainerBuilder> Method

Definition

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.

Implements

Applies to