IServiceProvider
GetService(Type)
CreateAsyncScope(IServiceProvider)
CreateScope(IServiceProvider)
GetApplicationUniqueIdentifier(IServiceProvider)
GetApplicationUniqueIdentifier(IServiceProvider)
GetDataProtectionProvider(IServiceProvider)
GetDataProtectionProvider(IServiceProvider)
GetDataProtector(IServiceProvider, String, String[])
GetDataProtector(IServiceProvider, String, String[])
GetDataProtector(IServiceProvider, IEnumerable<String>)
GetDataProtector(IServiceProvider, IEnumerable<String>)
GetFakeLogCollector(IServiceProvider)
GetFakeLogCollector(IServiceProvider)
GetFakeRedactionCollector(IServiceProvider)
GetKeyedService(IServiceProvider, Type, Object)
GetKeyedService<T>(IServiceProvider, Object)
GetKeyedServices(IServiceProvider, Type, Object)
GetKeyedServices<T>(IServiceProvider, Object)
GetMessageDelegate(IServiceProvider, String)
GetMessageMiddlewares(IServiceProvider, String)
GetMessageSource(IServiceProvider, String)
GetRequiredKeyedService(IServiceProvider, Type, Object)
GetRequiredKeyedService<T>(IServiceProvider, Object)
GetRequiredService(IServiceProvider, Type)
GetRequiredService<T>(IServiceProvider)
GetService<T>(IServiceProvider)
GetServices(IServiceProvider, Type)
GetServices<T>(IServiceProvider)
UseServiceModel(IServiceProvider)
UseServiceModel(IServiceProvider, Action<IServiceBuilder>)
net6.0-windows
namespace Microsoft.Extensions.DependencyInjection
{
public static class ServiceProviderServiceExtensions
{
public static T GetService<T>(this IServiceProvider! provider);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
.NET | 5.06.07.08.09.010.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net6.0 | |
Assemblies | Microsoft.Extensions.DependencyInjection.Abstractions , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60 Microsoft.Extensions.DependencyInjection.Abstractions , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.Extensions.DependencyInjection.Abstractions (10.0.0-preview.1.25080.5) netstandard2.1 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API