Class ThreadSafeMap<TKey, TValue>
Inheritance
ThreadSafeMap<TKey, TValue>
Assembly: Glitch9.dll
Syntax
public class ThreadSafeMap<TKey, TValue> where TKey : notnull
Type Parameters
| Name |
Description |
| TKey |
|
| TValue |
|
Constructors
|
Edit this page
View Source
ThreadSafeMap(Func<TKey, TValue>)
Declaration
public ThreadSafeMap(Func<TKey, TValue> defaultFactory)
Parameters
| Type |
Name |
Description |
| Func<TKey, TValue> |
defaultFactory |
|
Methods
|
Edit this page
View Source
Get(TKey)
Declaration
public TValue Get(TKey key)
Parameters
| Type |
Name |
Description |
| TKey |
key |
|
Returns
|
Edit this page
View Source
GetDictionary()
Declaration
public Dictionary<TKey, TValue> GetDictionary()
Returns
Extension Methods