Share via


ConcurrentCollectionDictionary<TKey, TElement> Constructor

Namespace:  Microsoft.TeamFoundation.Framework.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public Sub New ( _
    createCollectionHandler As ConcurrentCollectionDictionary(Of T).CreateCollectionDelegate, _
    copyCollectionHandler As ConcurrentCollectionDictionary(Of T).CopyCollectionDelegate, _
    comparer As IEqualityComparer(Of TKey), _
    removeKeyOnEmpty As Boolean _
)
public ConcurrentCollectionDictionary(
    ConcurrentCollectionDictionary<T>.CreateCollectionDelegate createCollectionHandler,
    ConcurrentCollectionDictionary<T>.CopyCollectionDelegate copyCollectionHandler,
    IEqualityComparer<TKey> comparer,
    bool removeKeyOnEmpty
)
public:
ConcurrentCollectionDictionary(
    ConcurrentCollectionDictionary<T>::CreateCollectionDelegate^ createCollectionHandler, 
    ConcurrentCollectionDictionary<T>::CopyCollectionDelegate^ copyCollectionHandler, 
    IEqualityComparer<TKey>^ comparer, 
    bool removeKeyOnEmpty
)
new : 
        createCollectionHandler:ConcurrentCollectionDictionary<T>.CreateCollectionDelegate * 
        copyCollectionHandler:ConcurrentCollectionDictionary<T>.CopyCollectionDelegate * 
        comparer:IEqualityComparer<'TKey> * 
        removeKeyOnEmpty:bool -> ConcurrentCollectionDictionary
public function ConcurrentCollectionDictionary(
    createCollectionHandler : ConcurrentCollectionDictionary<TKey, TElement>.CreateCollectionDelegate, 
    copyCollectionHandler : ConcurrentCollectionDictionary<TKey, TElement>.CopyCollectionDelegate, 
    comparer : IEqualityComparer<TKey>, 
    removeKeyOnEmpty : boolean
)

Parameters

.NET Framework Security

See Also

Reference

ConcurrentCollectionDictionary<TKey, TElement> Class

Microsoft.TeamFoundation.Framework.Common Namespace