InitializationContext Class

Simple Injector
An instance of this type will be supplied to the PredicateT delegate that is that is supplied to the RegisterResolveInterceptor method that takes this delegate. This type contains contextual information about a resolved type and it allows the user to examine the given instance to decide whether the ResolveInterceptor should be applied or not.
Inheritance Hierarchy

SystemObject
  SimpleInjector.AdvancedInitializationContext

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

public class InitializationContext

The InitializationContext type exposes the following members.

Properties

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

Reference