Edytuj

Udostępnij za pośrednictwem


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)

Source:
ClientBuilderExtensions.cs

Registers a configuration instance which TOptions will bind against.

public static Orleans.IClientBuilder Configure<TOptions> (this Orleans.IClientBuilder builder, Microsoft.Extensions.Configuration.IConfiguration configuration) where TOptions : class;
static member Configure : Orleans.IClientBuilder * Microsoft.Extensions.Configuration.IConfiguration -> Orleans.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>)

Source:
ClientBuilderExtensions.cs

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

public static Orleans.IClientBuilder Configure<TOptions> (this Orleans.IClientBuilder builder, Action<TOptions> configureOptions) where TOptions : class;
static member Configure : Orleans.IClientBuilder * Action<'Options (requires 'Options : null)> -> Orleans.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