An instance of this type will be supplied to the PredicateT
delegate that is that is supplied to the
RegisterInitializer
overload that takes this delegate. This type contains contextual information about the creation and it
allows the user to examine the given instance to decide whether the instance should be initialized or
not.
Inheritance Hierarchy
SimpleInjector.AdvancedInitializerContext
Namespace: SimpleInjector.Advanced
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
The InitializerContext type exposes the following members.
Properties
Name | Description | |
---|---|---|
Registration |
Gets the Registration that is responsible for the initialization of the created
instance.
|
See Also