다음을 통해 공유


RoutingStrategyBuilderExtensions.ConfigureWeightedGroups 메서드

정의

오버로드

ConfigureWeightedGroups(IRoutingStrategyBuilder, IConfigurationSection)

를 사용하여 WeightedGroupsRoutingOptions가중 그룹 라우팅을 구성합니다.

ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions,IServiceProvider>)

를 사용하여 WeightedGroupsRoutingOptions가중 그룹 라우팅을 구성합니다.

ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions>)

를 사용하여 WeightedGroupsRoutingOptions가중 그룹 라우팅을 구성합니다.

ConfigureWeightedGroups(IRoutingStrategyBuilder, IConfigurationSection)

Source:
RoutingStrategyBuilderExtensions.cs

를 사용하여 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

매개 변수

builder
IRoutingStrategyBuilder

라우팅 작성기입니다.

section
IConfigurationSection

에 바인딩할 WeightedGroupsRoutingOptions 섹션입니다.

반환

builder의 값

적용 대상

ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions,IServiceProvider>)

Source:
RoutingStrategyBuilderExtensions.cs

를 사용하여 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

매개 변수

builder
IRoutingStrategyBuilder

라우팅 작성기입니다.

반환

builder의 값

적용 대상

ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions>)

Source:
RoutingStrategyBuilderExtensions.cs

를 사용하여 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

매개 변수

builder
IRoutingStrategyBuilder

라우팅 작성기입니다.

configure
Action<WeightedGroupsRoutingOptions>

를 구성하는 콜백입니다 WeightedGroupsRoutingOptions.

반환

builder의 값

적용 대상