CreateLifestyleApplier Delegate

Simple Injector
Factory for the creation of a delegate that applies caching to the supplied transientInstanceCreator.

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

public delegate Func<Object> CreateLifestyleApplier(
	Func<Object> transientInstanceCreator
)

Parameters

transientInstanceCreator
Type: SystemFuncObject
A factory for creating new instances.

Return Value

Type: FuncObject
A factory that returns cached instances.
See Also

Reference