Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

ConcurrentDictionary<TKey,TValue>

API reference for ConcurrentDictionary<TKey,TValue> in Vendr, the eCommerce solution for Umbraco v8+

ConcurrentDictionary<TKey,TValue>

public class ConcurrentDictionary<TKey, TValue> : ConcurrentDictionary<TKey, TValue>, 
    IConcurrentDictionary<TKey, TValue>
    where TValue : class

Inheritance

Namespace

Constructors

ConcurrentDictionary<TKey,TValue>

The default constructor.

public ConcurrentDictionary()

ConcurrentDictionary<TKey,TValue> (1 of 6)

public ConcurrentDictionary(IEnumerable<KeyValuePair<TKey, TValue>> collection)

ConcurrentDictionary<TKey,TValue> (2 of 6)

public ConcurrentDictionary(IEqualityComparer<TKey> comparer)

ConcurrentDictionary<TKey,TValue> (3 of 6)

public ConcurrentDictionary(int concurrencyLevel, int capacity)

ConcurrentDictionary<TKey,TValue> (4 of 6)

public ConcurrentDictionary(IEnumerable<KeyValuePair<TKey, TValue>> collection, 
    IEqualityComparer<TKey> comparer)

ConcurrentDictionary<TKey,TValue> (5 of 6)

public ConcurrentDictionary(int concurrencyLevel, 
    IEnumerable<KeyValuePair<TKey, TValue>> collection, IEqualityComparer<TKey> comparer)

ConcurrentDictionary<TKey,TValue> (6 of 6)

public ConcurrentDictionary(int concurrencyLevel, int capacity, IEqualityComparer<TKey> comparer)

Methods

GetOrAddIfNotNull

public virtual TValue GetOrAddIfNotNull(TKey key, Func<TKey, TValue> valueFactory)

Edit this page on GitHub

Site + logo design © 2022 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.