RoutingStrategyBuilderExtensions.ConfigureWeightedGroups Method

Definition

Overloads

ConfigureWeightedGroups(IRoutingStrategyBuilder, IConfigurationSection)

Configures weighted groups routing using WeightedGroupsRoutingOptions.

ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions,IServiceProvider>)

Configures weighted groups routing using WeightedGroupsRoutingOptions.

ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions>)

Configures weighted groups routing using WeightedGroupsRoutingOptions.

ConfigureWeightedGroups(IRoutingStrategyBuilder, IConfigurationSection)

Source:
RoutingStrategyBuilderExtensions.cs
Source:
RoutingStrategyBuilderExtensions.cs

Configures weighted groups routing using 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

Parameters

builder
IRoutingStrategyBuilder

The routing builder.

section
IConfigurationSection

The section that the WeightedGroupsRoutingOptions will bind against.

Returns

The value of builder.

Applies to

ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions,IServiceProvider>)

Source:
RoutingStrategyBuilderExtensions.cs
Source:
RoutingStrategyBuilderExtensions.cs

Configures weighted groups routing using 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

Parameters

builder
IRoutingStrategyBuilder

The routing builder.

Returns

The value of builder.

Applies to

ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions>)

Source:
RoutingStrategyBuilderExtensions.cs
Source:
RoutingStrategyBuilderExtensions.cs

Configures weighted groups routing using 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

Parameters

builder
IRoutingStrategyBuilder

The routing builder.

configure
Action<WeightedGroupsRoutingOptions>

The callback that configures WeightedGroupsRoutingOptions.

Returns

The value of builder.

Applies to