StrangeIoC
0.6.0
The IoC/Binding Framework for Unity3D and C#
|
Public Member Functions | |
new T | GetInstance () |
Gets an instance from the pool if one is available. More... | |
Public Member Functions inherited from strange.extensions.pool.api.IPool | |
void | ReturnInstance (object value) |
Returns an instance to the pool. More... | |
void | Clean () |
Remove all instance references from the Pool. More... | |
Public Member Functions inherited from strange.framework.api.IManagedList | |
IManagedList | Add (object value) |
Add a value to this List. | |
IManagedList | Add (object[] list) |
Add a set of values to this List. | |
IManagedList | Remove (object value) |
Remove a value from this List. | |
IManagedList | Remove (object[] list) |
Remove a set of values from this List. | |
Additional Inherited Members | |
Properties inherited from strange.extensions.pool.api.IPool | |
IInstanceProvider | instanceProvider [get, set] |
A class that provides instances to the pool when it needs them. More... | |
Type | poolType [get, set] |
The object Type of the first object added to the pool. More... | |
int | available [get] |
Returns the count of non-committed instances More... | |
int | size [get, set] |
Gets or sets the size of the pool. More... | |
int | instanceCount [get] |
Returns the total number of instances currently managed by this pool. More... | |
PoolOverflowBehavior | overflowBehavior [get, set] |
Gets or sets the overflow behavior of this pool. More... | |
PoolInflationType | inflationType [get, set] |
Gets or sets the type of inflation for infinite-sized pools. More... | |
new T strange.extensions.pool.api.IPool< T >.GetInstance | ( | ) |
Gets an instance from the pool if one is available.
Implements strange.extensions.pool.api.IPool.
Implemented in strange.extensions.pool.impl.Pool< T >.