ResolveInterceptor Delegate
Namespace:
SimpleInjector
Assembly:
SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
public delegate Object ResolveInterceptor( InitializationContext context, Func<Object> instanceProducer )
Parameters
- context
- Type: SimpleInjector.AdvancedInitializationContext
Contextual information about the to be created object. - instanceProducer
- Type: SystemFuncObject
A delegate that produces the actual instance according to its lifestyle settings.
Return Value
Type: Object
The instance that is returned from instanceProducer or an intercepted instance.