Table of Contents

Method GetKeyedService

Namespace
Autofac.Extensions.DependencyInjection
Assembly
Autofac.Extensions.DependencyInjection.dll

GetKeyedService(Type, object?)

public object? GetKeyedService(Type serviceType, object? serviceKey)

Parameters

serviceType Type
serviceKey object

Returns

object