Public Member Functions | |
ConcurrentDictionary () | |
ConcurrentDictionary (IEnumerable< KeyValuePair< TKey, TValue >> collection) | |
ConcurrentDictionary (IEqualityComparer< TKey > comparer) | |
ConcurrentDictionary (IEnumerable< KeyValuePair< TKey, TValue >> collection, IEqualityComparer< TKey > comparer) | |
ConcurrentDictionary (int concurrencyLevel, int capacity) | |
ConcurrentDictionary (int concurrencyLevel, IEnumerable< KeyValuePair< TKey, TValue >> collection, IEqualityComparer< TKey > comparer) | |
ConcurrentDictionary (int concurrencyLevel, int capacity, IEqualityComparer< TKey > comparer) | |
bool | TryAdd (TKey key, TValue value) |
TValue | AddOrUpdate (TKey key, Func< TKey, TValue > addValueFactory, Func< TKey, TValue, TValue > updateValueFactory) |
TValue | AddOrUpdate (TKey key, TValue addValue, Func< TKey, TValue, TValue > updateValueFactory) |
bool | TryGetValue (TKey key, out TValue value) |
bool | TryUpdate (TKey key, TValue newValue, TValue comparisonValue) |
TValue | GetOrAdd (TKey key, Func< TKey, TValue > valueFactory) |
TValue | GetOrAdd (TKey key, TValue value) |
bool | TryRemove (TKey key, out TValue value) |
bool | ContainsKey (TKey key) |
KeyValuePair< TKey, TValue >[] | ToArray () |
void | Clear () |
IEnumerator< KeyValuePair< TKey, TValue > > | GetEnumerator () |
Properties | |
TValue | this[TKey key] [get, set] |
int | Count [get] |
bool | IsEmpty [get] |
ICollection< TKey > | Keys [get] |
ICollection< TValue > | Values [get] |
Detailed Description
Definition at line 38 of file ConcurrentDictionary.cs.
Constructor & Destructor Documentation
System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.ConcurrentDictionary | ( | ) |
Definition at line 46 of file ConcurrentDictionary.cs.
System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.ConcurrentDictionary | ( | IEnumerable< KeyValuePair< TKey, TValue >> | collection | ) |
Definition at line 50 of file ConcurrentDictionary.cs.
System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.ConcurrentDictionary | ( | IEqualityComparer< TKey > | comparer | ) |
Definition at line 55 of file ConcurrentDictionary.cs.
System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.ConcurrentDictionary | ( | IEnumerable< KeyValuePair< TKey, TValue >> | collection, |
IEqualityComparer< TKey > | comparer | ||
) |
Definition at line 61 of file ConcurrentDictionary.cs.
System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.ConcurrentDictionary | ( | int | concurrencyLevel, |
int | capacity | ||
) |
Definition at line 69 of file ConcurrentDictionary.cs.
System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.ConcurrentDictionary | ( | int | concurrencyLevel, |
IEnumerable< KeyValuePair< TKey, TValue >> | collection, | ||
IEqualityComparer< TKey > | comparer | ||
) |
Definition at line 75 of file ConcurrentDictionary.cs.
System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.ConcurrentDictionary | ( | int | concurrencyLevel, |
int | capacity, | ||
IEqualityComparer< TKey > | comparer | ||
) |
Definition at line 84 of file ConcurrentDictionary.cs.
Member Function Documentation
TValue System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.AddOrUpdate | ( | TKey | key, |
Func< TKey, TValue > | addValueFactory, | ||
Func< TKey, TValue, TValue > | updateValueFactory | ||
) |
Definition at line 117 of file ConcurrentDictionary.cs.
TValue System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.AddOrUpdate | ( | TKey | key, |
TValue | addValue, | ||
Func< TKey, TValue, TValue > | updateValueFactory | ||
) |
Definition at line 130 of file ConcurrentDictionary.cs.
void System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.Clear | ( | ) |
Definition at line 275 of file ConcurrentDictionary.cs.
bool System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.ContainsKey | ( | TKey | key | ) |
Definition at line 215 of file ConcurrentDictionary.cs.
IEnumerator<KeyValuePair<TKey, TValue> > System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.GetEnumerator | ( | ) |
Definition at line 368 of file ConcurrentDictionary.cs.
TValue System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.GetOrAdd | ( | TKey | key, |
Func< TKey, TValue > | valueFactory | ||
) |
Definition at line 177 of file ConcurrentDictionary.cs.
TValue System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.GetOrAdd | ( | TKey | key, |
TValue | value | ||
) |
Definition at line 183 of file ConcurrentDictionary.cs.
KeyValuePair<TKey,TValue> [] System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.ToArray | ( | ) |
Definition at line 267 of file ConcurrentDictionary.cs.
bool System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.TryAdd | ( | TKey | key, |
TValue | value | ||
) |
Definition at line 106 of file ConcurrentDictionary.cs.
bool System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.TryGetValue | ( | TKey | key, |
out TValue | value | ||
) |
Definition at line 152 of file ConcurrentDictionary.cs.
bool System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.TryRemove | ( | TKey | key, |
out TValue | value | ||
) |
Definition at line 189 of file ConcurrentDictionary.cs.
bool System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.TryUpdate | ( | TKey | key, |
TValue | newValue, | ||
TValue | comparisonValue | ||
) |
Definition at line 162 of file ConcurrentDictionary.cs.
Property Documentation
|
get |
Definition at line 281 of file ConcurrentDictionary.cs.
|
get |
Definition at line 287 of file ConcurrentDictionary.cs.
|
get |
Definition at line 305 of file ConcurrentDictionary.cs.
|
getset |
Definition at line 168 of file ConcurrentDictionary.cs.
|
get |
Definition at line 311 of file ConcurrentDictionary.cs.
The documentation for this class was generated from the following file: