PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Collections Namespace/Advisable­Keyed­Collection(TKey, TItem) Class/Advisable­Keyed­Collection(TKey, TItem) Constructor/Advisable­Keyed­Collection(TKey, TItem) Constructor (Int32)

AdvisableKeyedCollection<TKey, TItem> Constructor (Int32)

Initializes a new instance of the AdvisableKeyedCollection<TKey, TItem> class that is empty and has a specified initial capacity.

Namespace:  PostSharp.Patterns.Collections
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.0.35.0 (6.0.35.0)
Syntax
C#
protected AdvisableKeyedCollection(
	int capacity
)

Parameters

capacity
Type: System.Int32
The number of elements the collection can contain before it must be resized.
See Also