Summary
Returns a spare
System.Collections.Generic.Dictionary`2
if there are any, or creates a new one.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- DictionaryPool
Syntax
public static void Acquire<TKey, TValue>(out Dictionary<TKey, TValue> dictionary)
Remarks
Remember to
Animancer.DictionaryPool.Release``2(System.Collections.Generic.Dictionary{``0,``1})
it when you are done.Type Parameters
Name | Description |
---|---|
TKey | |
TValue |
Parameters
Name | Type | Description |
---|---|---|
dictionary | Dictionary |
Return Value
Type | Description |
---|---|
void |