Click or drag to resize

KeyedService Constructor

Initializes a new instance of the KeyedService class.

Namespace:  Autofac.Core
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public KeyedService(
	Object serviceKey,
	Type serviceType
)

Parameters

serviceKey
Type: SystemObject
Key of the service.
serviceType
Type: SystemType
Type of the service.
See Also