FactoryGenerator Constructor (Type, Service, ServiceRegistration, ParameterMapping) |
Namespace:
Autofac.Features.GeneratedFactories
Assembly:
Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax public FactoryGenerator(
Type delegateType,
Service service,
ServiceRegistration productRegistration,
ParameterMapping parameterMapping
)
Public Sub New (
delegateType As Type,
service As Service,
productRegistration As ServiceRegistration,
parameterMapping As ParameterMapping
)
Parameters
- delegateType
- Type: SystemType
The delegate to provide as a factory. - service
- Type: Autofac.CoreService
The service that will be activated in
order to create the products of the factory. - productRegistration
- Type: Autofac.CoreServiceRegistration
The component that will be activated in
order to create the products of the factory. - parameterMapping
- Type: Autofac.Features.GeneratedFactoriesParameterMapping
The parameter mapping mode to use.
See Also