Compartilhar via


RoutingStrategyBuilderExtensions.ConfigureWeightedGroups Método

Definição

Sobrecargas

ConfigureWeightedGroups(IRoutingStrategyBuilder, IConfigurationSection)

Configura o roteamento de grupos ponderados usando WeightedGroupsRoutingOptions.

ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions,IServiceProvider>)

Configura o roteamento de grupos ponderados usando WeightedGroupsRoutingOptions.

ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions>)

Configura o roteamento de grupos ponderados usando WeightedGroupsRoutingOptions.

ConfigureWeightedGroups(IRoutingStrategyBuilder, IConfigurationSection)

Origem:
RoutingStrategyBuilderExtensions.cs

Configura o roteamento de grupos ponderados usando WeightedGroupsRoutingOptions.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ ConfigureWeightedGroups(Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder ConfigureWeightedGroups (this Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member ConfigureWeightedGroups : Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder
<Extension()>
Public Function ConfigureWeightedGroups (builder As IRoutingStrategyBuilder, section As IConfigurationSection) As IRoutingStrategyBuilder

Parâmetros

builder
IRoutingStrategyBuilder

O construtor de roteamento.

section
IConfigurationSection

A seção na qual o WeightedGroupsRoutingOptions será associado.

Retornos

O valor de builder.

Aplica-se a

ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions,IServiceProvider>)

Origem:
RoutingStrategyBuilderExtensions.cs

Configura o roteamento de grupos ponderados usando WeightedGroupsRoutingOptions.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ ConfigureWeightedGroups(Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ builder, Action<Microsoft::Extensions::Http::Resilience::WeightedGroupsRoutingOptions ^, IServiceProvider ^> ^ configure);
public static Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder ConfigureWeightedGroups (this Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder builder, Action<Microsoft.Extensions.Http.Resilience.WeightedGroupsRoutingOptions,IServiceProvider> configure);
static member ConfigureWeightedGroups : Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder * Action<Microsoft.Extensions.Http.Resilience.WeightedGroupsRoutingOptions, IServiceProvider> -> Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder
<Extension()>
Public Function ConfigureWeightedGroups (builder As IRoutingStrategyBuilder, configure As Action(Of WeightedGroupsRoutingOptions, IServiceProvider)) As IRoutingStrategyBuilder

Parâmetros

builder
IRoutingStrategyBuilder

O construtor de roteamento.

configure
Action<WeightedGroupsRoutingOptions,IServiceProvider>

O retorno de chamada que configura WeightedGroupsRoutingOptions.

Retornos

O valor de builder.

Aplica-se a

ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions>)

Origem:
RoutingStrategyBuilderExtensions.cs

Configura o roteamento de grupos ponderados usando WeightedGroupsRoutingOptions.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ ConfigureWeightedGroups(Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ builder, Action<Microsoft::Extensions::Http::Resilience::WeightedGroupsRoutingOptions ^> ^ configure);
public static Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder ConfigureWeightedGroups (this Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder builder, Action<Microsoft.Extensions.Http.Resilience.WeightedGroupsRoutingOptions> configure);
static member ConfigureWeightedGroups : Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder * Action<Microsoft.Extensions.Http.Resilience.WeightedGroupsRoutingOptions> -> Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder
<Extension()>
Public Function ConfigureWeightedGroups (builder As IRoutingStrategyBuilder, configure As Action(Of WeightedGroupsRoutingOptions)) As IRoutingStrategyBuilder

Parâmetros

builder
IRoutingStrategyBuilder

O construtor de roteamento.

configure
Action<WeightedGroupsRoutingOptions>

O retorno de chamada que configura WeightedGroupsRoutingOptions.

Retornos

O valor de builder.

Aplica-se a