InitializerContext Class

Simple Injector
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

SystemObject
  SimpleInjector.AdvancedInitializerContext

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

public class InitializerContext

The InitializerContext type exposes the following members.

Properties

  NameDescription
Public propertyRegistration
Gets the Registration that is responsible for the initialization of the created instance.
Top
See Also

Reference