AtalaObservableDictionaryTKey, TValue Class |
Namespace: Atalasoft.Imaging.Wpf
public class AtalaObservableDictionary<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
The AtalaObservableDictionaryTKey, TValue type exposes the following members.
| Name | Description | |
|---|---|---|
| AtalaObservableDictionaryTKey, TValue |
Initializes a new instance of the AtalaObservableDictionaryTKey, TValue class that is empty, has the default initial capacity, and uses the default equality comparer for the key type.
| |
| AtalaObservableDictionaryTKey, TValue(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. | |
| AtalaObservableDictionaryTKey, TValue(IEqualityComparerTKey) | Initializes a new instance of the AtalaObservableDictionaryTKey, TValue class that is empty, has the default initial capacity, and uses the specified IEqualityComparerT. | |
| AtalaObservableDictionaryTKey, TValue(Int32) | Initializes a new instance of the AtalaObservableDictionaryTKey, TValue class that is empty, has the specified initial capacity, and uses the default equality comparer for the key type. | |
| AtalaObservableDictionaryTKey, TValue(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.
| |
| AtalaObservableDictionaryTKey, TValue(Int32, IEqualityComparerTKey) | Initializes a new instance of the AtalaObservableDictionaryTKey, TValue class that is empty, has the specified initial capacity, and uses the specified IEqualityComparerT. |
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements contained in the ICollectionT. | |
| IsReadOnly | Gets a value indicating whether the ICollectionT is read-only. | |
| Item | Gets or sets the element with the specified key. | |
| Keys | Gets an ICollectionT containing the keys of the IDictionaryTKey, TValue. | |
| Values | Gets an ICollectionT containing the values in the IDictionaryTKey, TValue. |
| Name | Description | |
|---|---|---|
| Add(KeyValuePairTKey, TValue) | Adds an item to the ICollectionT. | |
| Add(TKey, TValue) | Adds an element with the provided key and value to the IDictionaryTKey, TValue. | |
| Clear | Removes all items from the ICollectionT. | |
| Contains | Determines whether the ICollectionT contains a specific value. | |
| ContainsKey | Determines whether the IDictionaryTKey, TValue contains an element with the specified key. | |
| CopyTo | Copies the elements of the ICollectionT to an Array, starting at a particular Array index. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator | Returns an enumerator that iterates through the collection. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnCollectionChanged |
Fires a CollectionChanged event with specified args.
| |
| OnPropertyChanged |
Fires a PropertyChanged event.
| |
| Remove(KeyValuePairTKey, TValue) | Removes the first occurrence of a specific object from the ICollectionT. | |
| Remove(TKey) | Removes the element with the specified key from the IDictionaryTKey, TValue. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TryGetValue | Gets the value associated with the specified key. |
| Name | Description | |
|---|---|---|
| CollectionChanged | Occurs when the collection changes. | |
| PropertyChanged | Occurs when a property value changes. |