RoutingStrategyBuilderExtensions.ConfigureOrderedGroups 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ConfigureOrderedGroups(IRoutingStrategyBuilder, IConfigurationSection)
使用 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>)
使用 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
路由生成器。
- configure
- Action<OrderedGroupsRoutingOptions,IServiceProvider>
配置 的 OrderedGroupsRoutingOptions回调。
返回
builder
的值。
适用于
ConfigureOrderedGroups(IRoutingStrategyBuilder, Action<OrderedGroupsRoutingOptions>)
使用 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
路由生成器。
- configure
- Action<OrderedGroupsRoutingOptions>
配置 的 OrderedGroupsRoutingOptions回调。
返回
builder
的值。