Bewerken

Delen via


SiloOptionsOverrides.AddProviderClusterOptions Method

Definition

Overloads

AddProviderClusterOptions(ISiloBuilder, String, Action<OptionsBuilder<ClusterOptions>>)

Add an override ClusterOptions on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and ClusterId.

AddProviderClusterOptions(ISiloBuilder, String, Action<ClusterOptions>)

Add an override ClusterOptions on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and ClusterId.

AddProviderClusterOptions(ISiloHostBuilder, String, Action<OptionsBuilder<ClusterOptions>>)

Add an override ClusterOptions on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and ClusterId.

AddProviderClusterOptions(ISiloHostBuilder, String, Action<ClusterOptions>)

Add an override ClusterOptions on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and ClusterId.

AddProviderClusterOptions(ISiloBuilder, String, Action<OptionsBuilder<ClusterOptions>>)

Source:
SiloOptionsOverrides.cs

Add an override ClusterOptions on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and ClusterId.

public static Orleans.Hosting.ISiloBuilder AddProviderClusterOptions (this Orleans.Hosting.ISiloBuilder builder, string providerName, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ClusterOptions>> configureOptions);
static member AddProviderClusterOptions : Orleans.Hosting.ISiloBuilder * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ClusterOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddProviderClusterOptions (builder As ISiloBuilder, providerName As String, configureOptions As Action(Of OptionsBuilder(Of ClusterOptions))) As ISiloBuilder

Parameters

builder
ISiloBuilder
providerName
String
configureOptions
Action<OptionsBuilder<ClusterOptions>>

Returns

Applies to

AddProviderClusterOptions(ISiloBuilder, String, Action<ClusterOptions>)

Source:
SiloOptionsOverrides.cs

Add an override ClusterOptions on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and ClusterId.

public static Orleans.Hosting.ISiloBuilder AddProviderClusterOptions (this Orleans.Hosting.ISiloBuilder builder, string providerName, Action<Orleans.Configuration.ClusterOptions> configureOptions);
static member AddProviderClusterOptions : Orleans.Hosting.ISiloBuilder * string * Action<Orleans.Configuration.ClusterOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddProviderClusterOptions (builder As ISiloBuilder, providerName As String, configureOptions As Action(Of ClusterOptions)) As ISiloBuilder

Parameters

builder
ISiloBuilder
providerName
String
configureOptions
Action<ClusterOptions>

Returns

Applies to

AddProviderClusterOptions(ISiloHostBuilder, String, Action<OptionsBuilder<ClusterOptions>>)

Source:
SiloOptionsOverrides.cs

Add an override ClusterOptions on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and ClusterId.

public static Orleans.Hosting.ISiloHostBuilder AddProviderClusterOptions (this Orleans.Hosting.ISiloHostBuilder builder, string providerName, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ClusterOptions>> configureOptions);
static member AddProviderClusterOptions : Orleans.Hosting.ISiloHostBuilder * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ClusterOptions>> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddProviderClusterOptions (builder As ISiloHostBuilder, providerName As String, configureOptions As Action(Of OptionsBuilder(Of ClusterOptions))) As ISiloHostBuilder

Parameters

providerName
String
configureOptions
Action<OptionsBuilder<ClusterOptions>>

Returns

Applies to

AddProviderClusterOptions(ISiloHostBuilder, String, Action<ClusterOptions>)

Source:
SiloOptionsOverrides.cs

Add an override ClusterOptions on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and ClusterId.

public static Orleans.Hosting.ISiloHostBuilder AddProviderClusterOptions (this Orleans.Hosting.ISiloHostBuilder builder, string providerName, Action<Orleans.Configuration.ClusterOptions> configureOptions);
static member AddProviderClusterOptions : Orleans.Hosting.ISiloHostBuilder * string * Action<Orleans.Configuration.ClusterOptions> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddProviderClusterOptions (builder As ISiloHostBuilder, providerName As String, configureOptions As Action(Of ClusterOptions)) As ISiloHostBuilder

Parameters

providerName
String
configureOptions
Action<ClusterOptions>

Returns

Applies to