Class RecyclingPool
Message recycling pool class.
Namespace: Microsoft.Psi
Assembly: Microsoft.Psi.dll
Syntax
public class RecyclingPool : object
Methods
View SourceCreate<T>(StackTrace)
Creates an appropriate recycling pool for the specified type.
Declaration
public static IRecyclingPool<T> Create<T>(StackTrace debugTrace = null)
Parameters
Type | Name | Description |
---|---|---|
StackTrace | debugTrace | An optional debug trace to capture for debugging purposes. |
Returns
Type | Description |
---|---|
IRecyclingPool<T> | A new recycling pool. |
Type Parameters
Name | Description |
---|---|
T | The type of objects to store in the recycling pool. |