Summary
Clears the `dictionary` and adds it to the list of spares so it can be reused.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- DictionaryPool
Syntax
public static void Release<TKey, TValue>(this Dictionary<TKey, TValue> dictionary)
Type Parameters
| Name | Description |
|---|---|
| TKey | |
| TValue |
Parameters
| Name | Type | Description |
|---|---|---|
| dictionary | Dictionary |
Return Value
| Type | Description |
|---|---|
| void |