Registration Constructor

Simple Injector
Initializes a new instance of the Registration class.

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

protected Registration(
	Lifestyle lifestyle,
	Container container
)

Parameters

lifestyle
Type: SimpleInjectorLifestyle
The Lifestyle this that created this registration.
container
Type: SimpleInjectorContainer
The Container instance for this registration.
Exceptions

ExceptionCondition
ArgumentNullExceptionThrown when one of the supplied arguments is a null reference (Nothing in VB).
See Also

Reference