AvaloniaDictionary<TKey, TValue> Methods
Methods
Add(TKey, TValue) | Adds an element with the provided key and value to the IDictionary(TKey, TValue). |
Clear() | Removes all items from the ICollection(T). |
ContainsKey(TKey) | Determines whether the IDictionary(TKey, TValue) contains an element with the specified key. |
CopyTo(KeyValuePair(TKey, TValue)[], Int32) | Copies the elements of the ICollection(T) to an Array, starting at a particular Array index. |
Equals(Object) | 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) |
Remove(TKey) | Removes the element with the specified key from the IDictionary(TKey, TValue). |
ToString() | Returns a string that represents the current object. (Inherited from Object) |
TryGetValue(TKey, TValue) | Gets the value associated with the specified key. |
Extension Methods
GetWeakCollectionChangedObservable() | Gets a weak observable for the CollectionChanged event. (Defined by NotifyCollectionChangedExtensions) |
WeakSubscribe(Action(NotifyCollectionChangedEventArgs)) | Subscribes to the CollectionChanged event using a weak subscription. (Defined by NotifyCollectionChangedExtensions) |
WeakSubscribe(NotifyCollectionChangedEventHandler) | Subscribes to the CollectionChanged event using a weak subscription. (Defined by NotifyCollectionChangedExtensions) |
See Also
Reference
AvaloniaDictionary(TKey, TValue) Class
Avalonia.Collections Namespace