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