9 references to AutoActivators
Microsoft.Extensions.DependencyInjection.AutoActivation (9)
AutoActivationExtensions.cs (8)
34
if (ao.
AutoActivators
.Contains(constructed))
39
if (ao.
AutoActivators
.Remove(typeof(TService)))
41
_ = ao.
AutoActivators
.Add(constructed);
45
_ = ao.
AutoActivators
.Add(typeof(TService));
68
if (ao.
AutoActivators
.Contains(constructed))
73
if (ao.
AutoActivators
.Remove(serviceType))
75
_ = ao.
AutoActivators
.Add(constructed);
79
_ = ao.
AutoActivators
.Add(serviceType);
AutoActivationHostedService.cs (1)
26
foreach (var singleton in _options.
AutoActivators
)