InitializationContextProducer Property

Simple Injector
Gets the InstanceProducer that is responsible for the initialization of the created instance.

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

public InstanceProducer Producer { get; }

Property Value

Type: InstanceProducer
The InstanceProducer or null when the instance producer is unknown.
See Also

Reference