Method NewHashMap
NewHashMap()
Creates a new WeakIdentityMap<TKey, TValue> based on a non-synchronized
Declaration
public static WeakIdentityMap<TKey, TValue> NewHashMap()
Returns
Type | Description |
---|---|
WeakIdentityMap<TKey, TValue> |
NewHashMap(Boolean)
Creates a new WeakIdentityMap<TKey, TValue> based on a non-synchronized
Declaration
public static WeakIdentityMap<TKey, TValue> NewHashMap(bool reapOnRead)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | reapOnRead | controls if the map cleans up the reference queue on every read operation. |
Returns
Type | Description |
---|---|
WeakIdentityMap<TKey, TValue> |