Summary
Clears a collection and puts it into the pool to be available for future use.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- WeaverUtilities
.CollectionPool <TCollection, TElement>
Syntax
public static void Release(TCollection collection)
Parameters
| Name | Type | Description |
|---|---|---|
| collection | TCollection |
Return Value
| Type | Description |
|---|---|
| void |