Edit

Share via


ClientBuilderExtensions.Configure Method

Definition

Overloads

Configure<TOptions>(IClientBuilder, IConfiguration)

Registers a configuration instance which TOptions will bind against.

Configure<TOptions>(IClientBuilder, Action<TOptions>)

Registers an action used to configure a particular type of options.

Configure<TOptions>(IClientBuilder, IConfiguration)

Registers a configuration instance which TOptions will bind against.

public static Orleans.Hosting.IClientBuilder Configure<TOptions> (this Orleans.Hosting.IClientBuilder builder, Microsoft.Extensions.Configuration.IConfiguration configuration) where TOptions : class;
static member Configure : Orleans.Hosting.IClientBuilder * Microsoft.Extensions.Configuration.IConfiguration -> Orleans.Hosting.IClientBuilder (requires 'Options : null)
<Extension()>
Public Function Configure(Of TOptions As Class) (builder As IClientBuilder, configuration As IConfiguration) As IClientBuilder

Type Parameters

TOptions

The options type to be configured.

Parameters

builder
IClientBuilder

The host builder.

configuration
IConfiguration

The configuration.

Returns

The client builder.

Applies to

Configure<TOptions>(IClientBuilder, Action<TOptions>)

Registers an action used to configure a particular type of options.

public static Orleans.Hosting.IClientBuilder Configure<TOptions> (this Orleans.Hosting.IClientBuilder builder, Action<TOptions> configureOptions) where TOptions : class;
static member Configure : Orleans.Hosting.IClientBuilder * Action<'Options (requires 'Options : null)> -> Orleans.Hosting.IClientBuilder (requires 'Options : null)
<Extension()>
Public Function Configure(Of TOptions As Class) (builder As IClientBuilder, configureOptions As Action(Of TOptions)) As IClientBuilder

Type Parameters

TOptions

The options type to be configured.

Parameters

builder
IClientBuilder

The host builder.

configureOptions
Action<TOptions>

The action used to configure the options.

Returns

The client builder.

Applies to