|
ReusableObjectPoolTReturnObject Method
|
Returns object to the pool.
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.182-beta
Syntax public void ReturnObject(
T item
)
Public Sub ReturnObject (
item As T
)
public:
void ReturnObject(
T item
)
member ReturnObject :
item : 'T -> unit
function ReturnObject(item);
View SourceParameters
- item T
- Reference to the object being returned.
Remarks
If type of
T implements
ISupportLifecycle, the pool will automatically
return the item to the pool when the
Disposed event is raised, usually when
the object's
Dispose method is called.
See Also