Summary
Returns the pool currently creating a new item, or null at all other times.
This allows the created item's constructor to determine which pool it came from (if any).
If T implements
Weaver.IPoolable
you should use
Weaver.ObjectPool.GetCurrentPool``1
instead.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- ObjectPool
<T>
Syntax
public static ObjectPool<T> Current { get; private set; }
Value
Type | Description |
---|---|
ObjectPool |