StrangeIoC  0.6.0
The IoC/Binding Framework for Unity3D and C#
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Classes | Enumerations
Package strange.extensions.pool.api

Classes

interface  IPool< T >
 
interface  IPool
 A mechanism for storing and reusing instances. More...
 
interface  IPoolable
 Interface for items that belong to a Pool. More...
 

Enumerations

enum  PoolExceptionType { PoolExceptionType.OVERFLOW, PoolExceptionType.TYPE_MISMATCH, PoolExceptionType.NO_INSTANCE_PROVIDER }
 
enum  PoolInflationType { PoolInflationType.INCREMENT, PoolInflationType.DOUBLE }
 
enum  PoolOverflowBehavior { PoolOverflowBehavior.EXCEPTION, PoolOverflowBehavior.WARNING, PoolOverflowBehavior.IGNORE }
 

Enumeration Type Documentation

Enumerator
OVERFLOW 

POOL HAS OVERFLOWED ITS LIMIT.

TYPE_MISMATCH 

ATTEMPT TO ADD AN INSTANCE OF DIFFERENT TYPE TO A POOL.

NO_INSTANCE_PROVIDER 

A POOL HAS NO INSTANCE PROVIDER.

Enumerator
INCREMENT 

When a dynamic pool inflates, add one to the pool.

DOUBLE 

When a dynamic pool inflates, double the size of the pool.

Enumerator
EXCEPTION 

Requesting more than the fixed size will throw an exception.

WARNING 

Requesting more than the fixed size will throw a warning.

IGNORE 

Requesting more than the fixed size will return null and not throw an error.