When overridden in a derived class,
creates a new Registration instance defining the creation of the
specified concreteType with the caching as specified by this lifestyle.
Namespace: SimpleInjector.Lifestyles
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
protected override Registration CreateRegistrationCore( Type concreteType, Container container )
Parameters
- concreteType
- Type: SystemType
The concrete type that will be registered. - container
- Type: SimpleInjectorContainer
The Container instance for which a Registration must be created.
Return Value
Type: RegistrationA new Registration instance.
Remarks
See Also