3 references to TryAddAndActivate
Microsoft.Extensions.DependencyInjection.AutoActivation (3)
AutoActivationExtensions.cs (3)
281
services.
TryAddAndActivate
<TService>(ServiceDescriptor.Singleton<TService, TService>());
296
services.
TryAddAndActivate
<TService>(ServiceDescriptor.Singleton<TService, TImplementation>());
311
services.
TryAddAndActivate
<TService>(ServiceDescriptor.Singleton<TService>(implementationFactory));