AdvisableKeyedCollection<TKey, TItem> Constructor (Int32, IEqualityComparer<TKey>) |
Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
protected AdvisableKeyedCollection( int capacity, IEqualityComparer<TKey> comparer )
Parameters
- capacity
- Type: System.Int32
The number of elements the collection can contain before it must be resized. - comparer
- Type: System.Collections.Generic.IEqualityComparer<TKey>
The implementation of the IEqualityComparer<T> generic interface to use when comparing keys, or null to use the default equality comparer for the type of the key.