Class PoolManager
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: InsaneScatterbrain.ScriptGraph
Syntax
public class PoolManager : PoolManager, IInstanceProvider
Properties
Pools
Declaration
public BlockingCollection<IPool> Pools { get; }
Property Value
Type | Description |
---|---|
System.Collections.Concurrent.BlockingCollection<T><IPool> |
Methods
ClearAll()
Declaration
public void ClearAll()
ReturnAll()
Declaration
public void ReturnAll()
TryAddPool<T>(Pool<T>)
Declaration
public bool TryAddPool<T>(Pool<T> pool) where T : class
Parameters
Type | Name | Description |
---|---|---|
Pool<T> | pool |
Returns
Type | Description |
---|---|
bool |
Type Parameters
Name | Description |
---|---|
T |