ResolveInterceptor Delegate

Simple Injector

Namespace:  SimpleInjector
Assembly:  SimpleInjector (in SimpleInjector.dll) Version: 4.0.0
Syntax

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.
See Also

Reference