AtalaObservableDictionaryTKey, TValue Constructor (IDictionaryTKey, TValue) |
Initializes a new instance of the
AtalaObservableDictionaryTKey, TValue class that contains elements copied from the specified
IDictionaryTKey, TValue and uses the default equality comparer for the key type.
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
)
Public Sub New (
dictionary As IDictionary(Of TKey, TValue)
)
Parameters
- dictionary
- Type: System.Collections.GenericIDictionaryTKey, TValue
The IDictionaryTKey, TValue whose elements are copied to the new AtalaObservableDictionaryTKey, TValue.
Exceptions Exception | Condition |
---|
ArgumentNullException | dictionary is null. |
ArgumentException | dictionary contains one or more duplicate keys. |
See Also