16 references to OrderedGroupsRoutingOptions
Microsoft.Extensions.Http.Resilience (16)
Routing\Internal\OrderedGroups\OrderedGroupsRoutingOptionsValidator.cs (1)
9
internal sealed partial class OrderedGroupsRoutingOptionsValidator : IValidateOptions<
OrderedGroupsRoutingOptions
>
Routing\Internal\OrderedGroups\OrderedGroupsRoutingStrategyFactory.cs (2)
13
private readonly NamedOptionsCache<
OrderedGroupsRoutingOptions
> _cache;
16
public OrderedGroupsRoutingStrategyFactory(Randomizer randomizer, NamedOptionsCache<
OrderedGroupsRoutingOptions
> cache)
Routing\RoutingStrategyBuilderExtensions.cs (13)
26
/// Configures ordered groups routing using <see cref="
OrderedGroupsRoutingOptions
"/>.
29
/// <param name="section">The section that the <see cref="
OrderedGroupsRoutingOptions
"/> will bind against.</param>
31
[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(
OrderedGroupsRoutingOptions
))]
42
/// Configures ordered groups routing using <see cref="
OrderedGroupsRoutingOptions
"/>.
45
/// <param name="configure">The callback that configures <see cref="
OrderedGroupsRoutingOptions
"/>.</param>
47
public static IRoutingStrategyBuilder ConfigureOrderedGroups(this IRoutingStrategyBuilder builder, Action<
OrderedGroupsRoutingOptions
> configure)
56
/// Configures ordered groups routing using <see cref="
OrderedGroupsRoutingOptions
"/>.
59
/// <param name="configure">The callback that configures <see cref="
OrderedGroupsRoutingOptions
"/>.</param>
61
public static IRoutingStrategyBuilder ConfigureOrderedGroups(this IRoutingStrategyBuilder builder, Action<
OrderedGroupsRoutingOptions
, IServiceProvider> configure)
126
private static OptionsBuilder<
OrderedGroupsRoutingOptions
> ConfigureOrderedGroupsCore(this IRoutingStrategyBuilder builder)
130
var optionsCache = new NamedOptionsCache<
OrderedGroupsRoutingOptions
>(builder.Name, serviceProvider.GetRequiredService<IOptionsMonitor<
OrderedGroupsRoutingOptions
>>());
135
return builder.Services.AddOptionsWithValidateOnStart<
OrderedGroupsRoutingOptions
, OrderedGroupsRoutingOptionsValidator>(builder.Name);