IObjectPool<T> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Simple object pool Interface. Objects allocated should be returned to the pool when disposed.
public interface IObjectPool<T> where T : IDisposable
type IObjectPool<'T (requires 'T :> IDisposable)> = interface
Public Interface IObjectPool(Of T)
Type Parameters
- T
- Derived
Methods
Allocate() |
Allocates a pooled resource |
Free(T) |
Returns a resource to the pool |