Method | Description | |
---|---|---|
AutofacServiceLocator ( IComponentContext container ) : Autofac |
Initializes a new instance of the AutofacServiceLocator class.
|
Method | Description | |
---|---|---|
DoGetAllInstances ( |
Resolves all requested service instances.
|
|
DoGetInstance ( |
Resolves the requested service instance.
|
public AutofacServiceLocator ( IComponentContext container ) : Autofac | ||
container | IComponentContext |
/// The |
return | Autofac |
protected DoGetAllInstances ( |
||
serviceType | Type of instance requested. | |
return | IEnumerable |
protected DoGetInstance ( |
||
serviceType | Type of instance requested. | |
key | string | Name of registered service you want. May be |
return | object |