CollectionPool<T0,T1>.Release

Declaration

public static void Release(TCollection toRelease);

Parameters

toRelease The instance to return to the pool.

Description

Returns the instance back to the pool.

If the pool has collection checks enabled and the instance is already held by the pool then an exception will be thrown.


Did you find this page useful? Please give it a rating: