Skip to content

OrleansSiloGenericHostExtensions.UseOrleans(IHostBuilder, Action<HostBuilderContext, ISiloBuilder>)

UseOrleans(IHostBuilder, Action<HostBuilderContext, ISiloBuilder>)

staticextension
View source
public static IHostBuilder UseOrleans(this IHostBuilder hostBuilder, Action<HostBuilderContext, ISiloBuilder> configureDelegate)
Configures the host builder to host an Orleans silo.

Parameters

hostBuilderIHostBuilder
The host builder.
configureDelegateAction<HostBuilderContext, ISiloBuilder>
The delegate used to configure the silo.

Returns

The host builder.