9 references to KeyedAutoActivators
Microsoft.Extensions.DependencyInjection.AutoActivation (9)
AutoActivationExtensions.Keyed.cs (8)
34
if (ao.
KeyedAutoActivators
.Contains((constructed, serviceKey)))
39
if (ao.
KeyedAutoActivators
.Remove((typeof(TService), serviceKey)))
41
_ = ao.
KeyedAutoActivators
.Add((constructed, serviceKey));
45
_ = ao.
KeyedAutoActivators
.Add((typeof(TService), serviceKey));
72
if (ao.
KeyedAutoActivators
.Contains((constructed, serviceKey)))
77
if (ao.
KeyedAutoActivators
.Remove((serviceType, serviceKey)))
79
_ = ao.
KeyedAutoActivators
.Add((constructed, serviceKey));
83
_ = ao.
KeyedAutoActivators
.Add((serviceType, serviceKey));
AutoActivationHostedService.cs (1)
31
foreach (var (serviceType, serviceKey) in _options.
KeyedAutoActivators
)