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