Click or drag to resize

IPooledComponentOnGetFromPool Method

Invoked when this instance is retrieved from the pool. Any dependencies retrieved using the provided IComponentContext MUST be discarded in OnReturnToPool, otherwise memory leaks may occur.

Namespace:  Autofac.Pooling
Assembly:  Autofac.Pooling (in Autofac.Pooling.dll) Version: 1.0.1+e2b1e849d21d04643649a531a7435392bb1a29cd
Syntax
void OnGetFromPool(
	IComponentContext context,
	IEnumerable<Parameter> parameters
)

Parameters

context
Type: AutofacIComponentContext
The component context for the current resolve request.
parameters
Type: System.Collections.GenericIEnumerableParameter
The parameters to the resolve request.
See Also