AutofacServiceLocatorDoGetInstance Method |
Resolves the requested service instance.
Namespace:
Autofac.Extras.CommonServiceLocator
Assembly:
Autofac.Extras.CommonServiceLocator (in Autofac.Extras.CommonServiceLocator.dll) Version: 6.0.1+cbf7aec014129cc35f41fd7c7acb740dd2515df2
Syntax protected override Object DoGetInstance(
Type serviceType,
string key
)
Protected Overrides Function DoGetInstance (
serviceType As Type,
key As String
) As Object
Parameters
- serviceType
- Type: SystemType
Type of instance requested. - key
- Type: SystemString
Name of registered service you want. May be .
Return Value
Type:
ObjectThe requested service instance.
Exceptions See Also