Interface IPooledObjectPolicy<T>
Object creation policy.
Namespace: Evergine.Common.Helpers
Assembly: Evergine.Common.dll
Syntax
public interface IPooledObjectPolicy<T>
  Type Parameters
| Name | Description | 
|---|---|
| T | The pooled object type.  | 
      
Methods
Create()
Create a new pooled object.
Declaration
T Create()
  Returns
| Type | Description | 
|---|---|
| T | The pooled object.  | 
      
Return(T)
Return pooled object.
Declaration
bool Return(T obj)
  Parameters
| Type | Name | Description | 
|---|---|---|
| T | obj | The pooled object.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | If all is ok.  |