Click or drag to resize

AtalaObservableDictionaryTKey, TValue Constructor (IDictionaryTKey, TValue, IEqualityComparerTKey)

Initializes a new instance of the AtalaObservableDictionaryTKey, TValue class that contains elements copied from the specified IDictionaryTKey, TValue 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(
	IDictionary<TKey, TValue> dictionary,
	IEqualityComparer<TKey> comparer
)

Parameters

dictionary
Type: System.Collections.GenericIDictionaryTKey, TValue
The IDictionaryTKey, TValue whose elements are copied to the AtalaObservableDictionaryTKey, TValue.
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
ArgumentNullExceptiondictionary is null.
ArgumentExceptiondictionary contains one or more duplicate keys.
See Also