Interface IObjectPool<T>
Defines an object pooling contract
public interface IObjectPool<T>
Type Parameters
T
Methods
Rent()
Rent an instance on T
from the pool
T Rent()
Returns
- T
Return(T)
Return value
to the pool
void Return(T value)
Parameters
value
T