Поделиться через


RoutingStrategyBuilderExtensions.ConfigureOrderedGroups Метод

Определение

Перегрузки

ConfigureOrderedGroups(IRoutingStrategyBuilder, IConfigurationSection)

Настраивает маршрутизацию упорядоченных групп с помощью OrderedGroupsRoutingOptions.

ConfigureOrderedGroups(IRoutingStrategyBuilder, Action<OrderedGroupsRoutingOptions,IServiceProvider>)

Настраивает маршрутизацию упорядоченных групп с помощью OrderedGroupsRoutingOptions.

ConfigureOrderedGroups(IRoutingStrategyBuilder, Action<OrderedGroupsRoutingOptions>)

Настраивает маршрутизацию упорядоченных групп с помощью OrderedGroupsRoutingOptions.

ConfigureOrderedGroups(IRoutingStrategyBuilder, IConfigurationSection)

Исходный код:
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>)

Исходный код:
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

Построитель маршрутизации.

configure
Action<OrderedGroupsRoutingOptions,IServiceProvider>

Обратный вызов, который настраивает OrderedGroupsRoutingOptions.

Возвращаемое значение

Значение builder.

Применяется к

ConfigureOrderedGroups(IRoutingStrategyBuilder, Action<OrderedGroupsRoutingOptions>)

Исходный код:
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

Построитель маршрутизации.

configure
Action<OrderedGroupsRoutingOptions>

Обратный вызов, который настраивает OrderedGroupsRoutingOptions.

Возвращаемое значение

Значение builder.

Применяется к