InstanceProducer Constructor

Simple Injector
Initializes a new instance of the InstanceProducer class.

Namespace:  SimpleInjector
Assembly:  SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax

public InstanceProducer(
	Type serviceType,
	Registration registration
)

Parameters

serviceType
Type: SystemType
The service type for which this instance is created.
registration
Type: SimpleInjectorRegistration
The Registration.
See Also

Reference