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