ComponentRegistrarEnumerateComponentServices Method |
Reads configuration data for a component and enumerates the set
of configured services for the component.
Namespace:
Autofac.Configuration.Core
Assembly:
Autofac.Configuration (in Autofac.Configuration.dll) Version: 6.0.0+ec1c6438ceb3f3338c7364e35e7303f014e3fc39
Syntax protected virtual IEnumerable<Service> EnumerateComponentServices(
IConfiguration component,
Assembly defaultAssembly
)
Protected Overridable Function EnumerateComponentServices (
component As IConfiguration,
defaultAssembly As Assembly
) As IEnumerable(Of Service)
Parameters
- component
- Type: IConfiguration
The configuration data containing the component. The services
content will be read from this configuration object.
- defaultAssembly
- Type: System.ReflectionAssembly
The default assembly, if any, from which unqualified type names
should be resolved into types.
Return Value
Type:
IEnumerableService
An of
objects associated with the
component.
Exceptions See Also