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