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