Show / Hide Table of Contents

Class ServiceProviderKeyedServiceExtensions

Inheritance
object
ServiceProviderKeyedServiceExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Volo.Abp.Core.dll
Syntax
public static class ServiceProviderKeyedServiceExtensions

Methods

GetKeyedService(IServiceProvider, Type, object?)

Declaration
public static object? GetKeyedService(this IServiceProvider provider, Type serviceType, object? serviceKey)
Parameters
Type Name Description
IServiceProvider provider
Type serviceType
object serviceKey
Returns
Type Description
object
In this article
Back to top Powered by ABP.IO Platform