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
- createCollectionHandler
Type: Microsoft.TeamFoundation.Framework.Common.ConcurrentCollectionDictionary<TKey, TElement>.CreateCollectionDelegate
- copyCollectionHandler
Type: Microsoft.TeamFoundation.Framework.Common.ConcurrentCollectionDictionary<TKey, TElement>.CopyCollectionDelegate
- comparer
Type: System.Collections.Generic.IEqualityComparer<TKey>
- removeKeyOnEmpty
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.