AdvisableDictionary<TKey, TValue> Constructor (Int32, IEqualityComparer<TKey>) |
Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.9.11.0 (6.9.11.0)
public AdvisableDictionary( int capacity, IEqualityComparer<TKey> comparer )
Parameters
- capacity
- Type: System.Int32
The initial number of elements that the AdvisableDictionary<TKey, TValue> can contain. - comparer
- Type: System.Collections.Generic.IEqualityComparer<TKey>
The IEqualityComparer<T> implementation to use when comparing keys, or null to use the default EqualityComparer<T> for the type of the key.