DictionaryPool<TKey, TValue> Class

Summary

An Animancer.ObjectPool`1 for System.Collections.Generic.Dictionary`2.
Assembly
Animancer.dll
Namespace
Animancer
Base Types
DictionaryPool
CollectionPool, Dictionary>
ObjectPool>
Object

Syntax

public class DictionaryPool<TKey, TValue> : 
    CollectionPool<KeyValuePair<TKey, TValue>, Dictionary<TKey, TValue>>

Type Parameters

Name Description
TKey
TValue

Fields

Name Constant Value Summary
Instance
Singleton.
static

Methods

Name Value Summary
New() Dictionary<TKey, TValue>
Creates a new() instance of T.