|
ReusableObjectPoolReturnObject Method
|
Returns object to the pool.
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.220-beta+a56b2444ff27b37e053039e60f062b99378309bd
Syntax public static void ReturnObject(
Object item
)
Public Shared Sub ReturnObject (
item As Object
)
public:
static void ReturnObject(
Object^ item
)
static member ReturnObject :
item : Object -> unit
GSF.ReusableObjectPool.ReturnObject = function(item);
View SourceParameters
- item Object
- Reference to the object being returned.
Remarks
If type of
item 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