|
ReusableObjectPoolReturnObject Method
|
Returns object to the pool.
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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