2 instantiations of NamedOptionsCache
Microsoft.Extensions.Http.Resilience (2)
Routing\RoutingStrategyBuilderExtensions.cs (2)
130var optionsCache = new NamedOptionsCache<OrderedGroupsRoutingOptions>(builder.Name, serviceProvider.GetRequiredService<IOptionsMonitor<OrderedGroupsRoutingOptions>>()); 142var optionsCache = new NamedOptionsCache<WeightedGroupsRoutingOptions>(builder.Name, serviceProvider.GetRequiredService<IOptionsMonitor<WeightedGroupsRoutingOptions>>());
6 references to NamedOptionsCache
Microsoft.Extensions.Http.Resilience (6)
Routing\Internal\OrderedGroups\OrderedGroupsRoutingStrategyFactory.cs (2)
13private readonly NamedOptionsCache<OrderedGroupsRoutingOptions> _cache; 16public OrderedGroupsRoutingStrategyFactory(Randomizer randomizer, NamedOptionsCache<OrderedGroupsRoutingOptions> cache)
Routing\Internal\WeightedGroups\WeightedGroupsRoutingStrategyFactory.cs (2)
13private readonly NamedOptionsCache<WeightedGroupsRoutingOptions> _cache; 16public WeightedGroupsRoutingStrategyFactory(Randomizer randomizer, NamedOptionsCache<WeightedGroupsRoutingOptions> cache)
Routing\RoutingStrategyBuilderExtensions.cs (2)
130var optionsCache = new NamedOptionsCache<OrderedGroupsRoutingOptions>(builder.Name, serviceProvider.GetRequiredService<IOptionsMonitor<OrderedGroupsRoutingOptions>>()); 142var optionsCache = new NamedOptionsCache<WeightedGroupsRoutingOptions>(builder.Name, serviceProvider.GetRequiredService<IOptionsMonitor<WeightedGroupsRoutingOptions>>());