RoutingStrategyBuilderExtensions.ConfigureOrderedGroups 方法

定义

重载

ConfigureOrderedGroups(IRoutingStrategyBuilder, IConfigurationSection)

使用 OrderedGroupsRoutingOptions配置有序组路由。

ConfigureOrderedGroups(IRoutingStrategyBuilder, Action<OrderedGroupsRoutingOptions,IServiceProvider>)

使用 OrderedGroupsRoutingOptions配置有序组路由。

ConfigureOrderedGroups(IRoutingStrategyBuilder, Action<OrderedGroupsRoutingOptions>)

使用 OrderedGroupsRoutingOptions配置有序组路由。

ConfigureOrderedGroups(IRoutingStrategyBuilder, IConfigurationSection)

Source:
RoutingStrategyBuilderExtensions.cs

使用 OrderedGroupsRoutingOptions配置有序组路由。

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

参数

builder
IRoutingStrategyBuilder

路由生成器。

section
IConfigurationSection

将绑定到的节 OrderedGroupsRoutingOptions

返回

builder 的值。

适用于

ConfigureOrderedGroups(IRoutingStrategyBuilder, Action<OrderedGroupsRoutingOptions,IServiceProvider>)

Source:
RoutingStrategyBuilderExtensions.cs

使用 OrderedGroupsRoutingOptions配置有序组路由。

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

参数

builder
IRoutingStrategyBuilder

路由生成器。

返回

builder 的值。

适用于

ConfigureOrderedGroups(IRoutingStrategyBuilder, Action<OrderedGroupsRoutingOptions>)

Source:
RoutingStrategyBuilderExtensions.cs

使用 OrderedGroupsRoutingOptions配置有序组路由。

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

参数

builder
IRoutingStrategyBuilder

路由生成器。

返回

builder 的值。

适用于