Interface IPool<T>
Pool interface to get object from pool and return it back to pool
Namespace: FixAntenna.Common.Pool
Assembly: FixAntenna.Common.dll
Syntax
public interface IPool<T>
Type Parameters
| Name | Description |
|---|---|
| T |
Methods
Clean()
Declaration
void Clean()
GetObject()
Declaration
T GetObject()
Returns
| Type | Description |
|---|---|
| T |
GetObjectsCreated()
Declaration
int GetObjectsCreated()
Returns
| Type | Description |
|---|---|
| System.Int32 |
ReturnObject(T)
Declaration
void ReturnObject(T object)
Parameters
| Type | Name | Description |
|---|---|---|
| T | object |