Click or drag to resize

AtalaObservableDictionaryTKey, TValue Constructor (Int32, IEqualityComparerTKey)

Initializes a new instance of the AtalaObservableDictionaryTKey, TValue class that is empty, has the specified initial capacity, and uses the specified IEqualityComparerT.

Namespace:  Atalasoft.Imaging.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public AtalaObservableDictionary(
	int capacity,
	IEqualityComparer<TKey> comparer
)

Parameters

capacity
Type: SystemInt32
The initial number of elements that the AtalaObservableDictionaryTKey, TValue can contain.
comparer
Type: System.Collections.GenericIEqualityComparerTKey
The IEqualityComparerT implementation to use when comparing keys, or null to use the default IEqualityComparerT for the type of the key.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptioncapacity is less than 0.
See Also