1 implementation of IRoutingStrategyBuilder
Microsoft.Extensions.Http.Resilience (1)
Routing\Internal\RoutingStrategyBuilder.cs (1)
8
internal sealed record RoutingStrategyBuilder(string Name, IServiceCollection Services) :
IRoutingStrategyBuilder
;
31 references to IRoutingStrategyBuilder
Microsoft.Extensions.Http.Resilience (20)
Hedging\IStandardHedgingHandlerBuilder.cs (1)
26
IRoutingStrategyBuilder
RoutingStrategyBuilder { get; }
Hedging\ResilienceHttpClientBuilderExtensions.Hedging.cs (2)
42
public static IStandardHedgingHandlerBuilder AddStandardHedgingHandler(this IHttpClientBuilder builder, Action<
IRoutingStrategyBuilder
> configure)
152
IRoutingStrategyBuilder
RoutingStrategyBuilder) : IStandardHedgingHandlerBuilder;
Routing\RoutingStrategyBuilderExtensions.cs (17)
21
/// Extensions for <see cref="
IRoutingStrategyBuilder
"/>.
32
public static
IRoutingStrategyBuilder
ConfigureOrderedGroups(this
IRoutingStrategyBuilder
builder, IConfigurationSection section)
47
public static
IRoutingStrategyBuilder
ConfigureOrderedGroups(this
IRoutingStrategyBuilder
builder, Action<OrderedGroupsRoutingOptions> configure)
61
public static
IRoutingStrategyBuilder
ConfigureOrderedGroups(this
IRoutingStrategyBuilder
builder, Action<OrderedGroupsRoutingOptions, IServiceProvider> configure)
77
public static
IRoutingStrategyBuilder
ConfigureWeightedGroups(this
IRoutingStrategyBuilder
builder, IConfigurationSection section)
93
public static
IRoutingStrategyBuilder
ConfigureWeightedGroups(this
IRoutingStrategyBuilder
builder, Action<WeightedGroupsRoutingOptions> configure)
107
public static
IRoutingStrategyBuilder
ConfigureWeightedGroups(this
IRoutingStrategyBuilder
builder, Action<WeightedGroupsRoutingOptions, IServiceProvider> configure)
117
internal static
IRoutingStrategyBuilder
ConfigureRoutingStrategy(this
IRoutingStrategyBuilder
builder, Func<IServiceProvider, Func<RequestRoutingStrategy>> factory)
126
private static OptionsBuilder<OrderedGroupsRoutingOptions> ConfigureOrderedGroupsCore(this
IRoutingStrategyBuilder
builder)
138
private static OptionsBuilder<WeightedGroupsRoutingOptions> ConfigureWeightedGroupsCore(this
IRoutingStrategyBuilder
builder)
Microsoft.Extensions.Http.Resilience.Tests (11)
Routing\OrderedRoutingStrategyTest.cs (3)
50
protected override void Configure(
IRoutingStrategyBuilder
routingBuilder)
74
protected override IEnumerable<string> ConfigureMinRoutes(
IRoutingStrategyBuilder
routingBuilder)
83
protected override IEnumerable<Action<
IRoutingStrategyBuilder
>> ConfigureInvalidRoutes()
Routing\RoutingStrategyTest.cs (5)
30
public
IRoutingStrategyBuilder
Builder { get; set; }
112
Action<
IRoutingStrategyBuilder
, IConfiguration> configure,
171
protected abstract void Configure(
IRoutingStrategyBuilder
routingBuilder);
173
protected abstract IEnumerable<string> ConfigureMinRoutes(
IRoutingStrategyBuilder
routingBuilder);
175
protected abstract IEnumerable<Action<
IRoutingStrategyBuilder
>> ConfigureInvalidRoutes();
Routing\WeightedRoutingStrategyTest.cs (3)
66
protected override void Configure(
IRoutingStrategyBuilder
routingBuilder)
97
protected override IEnumerable<string> ConfigureMinRoutes(
IRoutingStrategyBuilder
routingBuilder)
103
protected override IEnumerable<Action<
IRoutingStrategyBuilder
>> ConfigureInvalidRoutes()