2 types derived from RequestRoutingStrategy
Microsoft.Extensions.Http.Resilience (2)
Routing\Internal\OrderedGroups\OrderedGroupsRoutingStrategy.cs (1)
13
internal sealed class OrderedGroupsRoutingStrategy :
RequestRoutingStrategy
, IResettable
Routing\Internal\WeightedGroups\WeightedGroupsRoutingStrategy.cs (1)
13
internal sealed class WeightedGroupsRoutingStrategy :
RequestRoutingStrategy
7 references to RequestRoutingStrategy
Microsoft.Extensions.Http.Resilience (7)
Hedging\ResilienceHttpClientBuilderExtensions.Hedging.cs (1)
99
if (args.PrimaryContext.Properties.TryGetValue(ResilienceKeys.RoutingStrategy, out
var
routingPipeline))
Internal\ResilienceKeys.cs (1)
15
public static readonly ResiliencePropertyKey<
RequestRoutingStrategy
> RoutingStrategy = new("Resilience.Http.RequestRoutingStrategy");
Routing\Internal\RequestRoutingOptions.cs (1)
10
public Func<
RequestRoutingStrategy
>? RoutingStrategyProvider { get; set; }
Routing\Internal\RoutingResilienceStrategy.cs (3)
18
private readonly Func<
RequestRoutingStrategy
>? _provider;
20
public RoutingResilienceStrategy(Func<
RequestRoutingStrategy
>? provider)
42
using
var
strategy = _provider();
Routing\RoutingStrategyBuilderExtensions.cs (1)
117
internal static IRoutingStrategyBuilder ConfigureRoutingStrategy(this IRoutingStrategyBuilder builder, Func<IServiceProvider, Func<
RequestRoutingStrategy
>> factory)