Edit

OrleansSiloGenericHostExtensions.UseOrleans Method

Definition

Overloads

Name Description
UseOrleans(HostApplicationBuilder)

Configures the host app builder to host an Orleans silo.

UseOrleans(IHostApplicationBuilder)

Configures the host app builder to host an Orleans silo.

UseOrleans(HostApplicationBuilder, Action<ISiloBuilder>)

Configures the host builder to host an Orleans silo.

UseOrleans(IHostApplicationBuilder, Action<ISiloBuilder>)

Configures the host builder to host an Orleans silo.

UseOrleans(IHostBuilder, Action<HostBuilderContext,ISiloBuilder>)

Configures the host builder to host an Orleans silo.

UseOrleans(IHostBuilder, Action<ISiloBuilder>)

Configures the host builder to host an Orleans silo.

UseOrleans(HostApplicationBuilder)

Configures the host app builder to host an Orleans silo.

public static Microsoft.Extensions.Hosting.HostApplicationBuilder UseOrleans(this Microsoft.Extensions.Hosting.HostApplicationBuilder hostAppBuilder);
static member UseOrleans : Microsoft.Extensions.Hosting.HostApplicationBuilder -> Microsoft.Extensions.Hosting.HostApplicationBuilder
<Extension()>
Public Function UseOrleans (hostAppBuilder As HostApplicationBuilder) As HostApplicationBuilder

Parameters

hostAppBuilder
HostApplicationBuilder

The host app builder.

Returns

The host builder.

Remarks

Calling this method multiple times on the same HostApplicationBuilder instance will result in one silo being configured.

Applies to

UseOrleans(IHostApplicationBuilder)

Configures the host app builder to host an Orleans silo.

public static Microsoft.Extensions.Hosting.IHostApplicationBuilder UseOrleans(this Microsoft.Extensions.Hosting.IHostApplicationBuilder hostAppBuilder);
static member UseOrleans : Microsoft.Extensions.Hosting.IHostApplicationBuilder -> Microsoft.Extensions.Hosting.IHostApplicationBuilder
<Extension()>
Public Function UseOrleans (hostAppBuilder As IHostApplicationBuilder) As IHostApplicationBuilder

Parameters

hostAppBuilder
IHostApplicationBuilder

The host app builder.

Returns

The host builder.

Remarks

Calling this method multiple times on the same IHostApplicationBuilder instance will result in one silo being configured.

Applies to

UseOrleans(HostApplicationBuilder, Action<ISiloBuilder>)

Configures the host builder to host an Orleans silo.

public static Microsoft.Extensions.Hosting.HostApplicationBuilder UseOrleans(this Microsoft.Extensions.Hosting.HostApplicationBuilder hostAppBuilder, Action<Orleans.Hosting.ISiloBuilder> configureDelegate);
static member UseOrleans : Microsoft.Extensions.Hosting.HostApplicationBuilder * Action<Orleans.Hosting.ISiloBuilder> -> Microsoft.Extensions.Hosting.HostApplicationBuilder
<Extension()>
Public Function UseOrleans (hostAppBuilder As HostApplicationBuilder, configureDelegate As Action(Of ISiloBuilder)) As HostApplicationBuilder

Parameters

hostAppBuilder
HostApplicationBuilder

The host app builder.

configureDelegate
Action<ISiloBuilder>

The delegate used to configure the silo.

Returns

The host builder.

Remarks

Calling this method multiple times on the same HostApplicationBuilder instance will result in one silo being configured. However, the effects of configureDelegate will be applied once for each call.

Applies to

UseOrleans(IHostApplicationBuilder, Action<ISiloBuilder>)

Configures the host builder to host an Orleans silo.

public static Microsoft.Extensions.Hosting.IHostApplicationBuilder UseOrleans(this Microsoft.Extensions.Hosting.IHostApplicationBuilder hostAppBuilder, Action<Orleans.Hosting.ISiloBuilder> configureDelegate);
static member UseOrleans : Microsoft.Extensions.Hosting.IHostApplicationBuilder * Action<Orleans.Hosting.ISiloBuilder> -> Microsoft.Extensions.Hosting.IHostApplicationBuilder
<Extension()>
Public Function UseOrleans (hostAppBuilder As IHostApplicationBuilder, configureDelegate As Action(Of ISiloBuilder)) As IHostApplicationBuilder

Parameters

hostAppBuilder
IHostApplicationBuilder

The host app builder.

configureDelegate
Action<ISiloBuilder>

The delegate used to configure the silo.

Returns

The host builder.

Remarks

Calling this method multiple times on the same IHostApplicationBuilder instance will result in one silo being configured. However, the effects of configureDelegate will be applied once for each call.

Applies to

UseOrleans(IHostBuilder, Action<HostBuilderContext,ISiloBuilder>)

Configures the host builder to host an Orleans silo.

public static Microsoft.Extensions.Hosting.IHostBuilder UseOrleans(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, Action<Microsoft.Extensions.Hosting.HostBuilderContext,Orleans.Hosting.ISiloBuilder> configureDelegate);
static member UseOrleans : Microsoft.Extensions.Hosting.IHostBuilder * Action<Microsoft.Extensions.Hosting.HostBuilderContext, Orleans.Hosting.ISiloBuilder> -> Microsoft.Extensions.Hosting.IHostBuilder
<Extension()>
Public Function UseOrleans (hostBuilder As IHostBuilder, configureDelegate As Action(Of HostBuilderContext, ISiloBuilder)) As IHostBuilder

Parameters

hostBuilder
IHostBuilder

The host builder.

configureDelegate
Action<HostBuilderContext,ISiloBuilder>

The delegate used to configure the silo.

Returns

The host builder.

Remarks

Calling this method multiple times on the same IHostBuilder instance will result in one silo being configured. However, the effects of configureDelegate will be applied once for each call.

Applies to

UseOrleans(IHostBuilder, Action<ISiloBuilder>)

Configures the host builder to host an Orleans silo.

public static Microsoft.Extensions.Hosting.IHostBuilder UseOrleans(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, Action<Orleans.Hosting.ISiloBuilder> configureDelegate);
static member UseOrleans : Microsoft.Extensions.Hosting.IHostBuilder * Action<Orleans.Hosting.ISiloBuilder> -> Microsoft.Extensions.Hosting.IHostBuilder
<Extension()>
Public Function UseOrleans (hostBuilder As IHostBuilder, configureDelegate As Action(Of ISiloBuilder)) As IHostBuilder

Parameters

hostBuilder
IHostBuilder

The host builder.

configureDelegate
Action<ISiloBuilder>

The delegate used to configure the silo.

Returns

The host builder.

Remarks

Calling this method multiple times on the same IHostBuilder instance will result in one silo being configured. However, the effects of configureDelegate will be applied once for each call.

Applies to