AutofacDependencyResolverGetServices Method |
Gets all available instances of a services.
Namespace:
Autofac.Integration.Mvc
Assembly:
Autofac.Integration.Mvc (in Autofac.Integration.Mvc.dll) Version: 6.0.0+106fe194fc419c09f32d39119967f68798cc6895
Syntax public virtual IEnumerable<Object> GetServices(
Type serviceType
)
Public Overridable Function GetServices (
serviceType As Type
) As IEnumerable(Of Object)
Parameters
- serviceType
- Type: SystemType
Type of the service.
Return Value
Type:
IEnumerableObjectThe list of instances if any were resolved; otherwise, an empty list.
Implements
IDependencyResolver.GetServices(Type)See Also