7 references to AddTransient
Microsoft.Extensions.DependencyInjection.Abstractions (3)
Extensions\ServiceCollectionDescriptorExtensions.cs (1)
125
/// <seealso cref="ServiceCollectionServiceExtensions.
AddTransient
(IServiceCollection, Type, Type)"/>
ServiceCollectionServiceExtensions.cs (2)
89
return services.
AddTransient
(typeof(TService), typeof(TImplementation));
112
return services.
AddTransient
(serviceType, serviceType);
Microsoft.Extensions.Diagnostics.HealthChecks.Common (1)
CommonHealthChecksExtensions.Manual.cs (1)
58
.
AddTransient
(typeof(IManualHealthCheck<>), typeof(ManualHealthCheck<>))
Microsoft.Extensions.Options (1)
OptionsServiceCollectionExtensions.cs (1)
221
services.
AddTransient
(serviceType, configureType);
Microsoft.Maui (2)
Hosting\MauiHandlersCollectionExtensions.cs (2)
28
handlersCollection.
AddTransient
(viewType, handlerType);
47
handlersCollection.
AddTransient
(typeof(TType), typeof(TTypeRender));