Class Pool<T>
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 abstract class Pool<T> : Pool<T>, IPool, IPool where T : class
Type Parameters
Name | Description |
---|---|
T |
Properties
CountInstancesInUse
Declaration
public int CountInstancesInUse { get; }
Property Value
Type | Description |
---|---|
int |
Methods
Clear()
Declaration
public override void Clear()
Overrides
InsaneScatterbrain.Pooling.Pool<T>.Clear()
Get()
Declaration
public override T Get()
Returns
Type | Description |
---|---|
T |
Overrides
InsaneScatterbrain.Pooling.Pool<T>.Get()
Return(T)
Declaration
public override void Return(T instance)
Parameters
Type | Name | Description |
---|---|---|
T | instance |
Overrides
InsaneScatterbrain.Pooling.Pool<T>.Return(T)
ReturnAll()
Declaration
public void ReturnAll()