IAvaloniaDictionary<TKey, TValue> Interface
Definition
Namespace: Avalonia.Collections
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public interface IAvaloniaDictionary<TKey, TValue> : IDictionary<TKey, TValue>,
ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>,
IEnumerable, IAvaloniaReadOnlyDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>,
IReadOnlyCollection<KeyValuePair<TKey, TValue>>, INotifyCollectionChanged, INotifyPropertyChanged,
IDictionary, ICollection
Public Interface IAvaloniaDictionary(Of TKey, TValue)
Inherits IDictionary(Of TKey, TValue), ICollection(Of KeyValuePair(Of TKey, TValue)),
IEnumerable(Of KeyValuePair(Of TKey, TValue)), IEnumerable,
IAvaloniaReadOnlyDictionary(Of TKey, TValue), IReadOnlyDictionary(Of TKey, TValue),
IReadOnlyCollection(Of KeyValuePair(Of TKey, TValue)), INotifyCollectionChanged,
INotifyPropertyChanged, IDictionary, ICollection
type IAvaloniaDictionary<'TKey, 'TValue> =
interface
interface IDictionary<'TKey, 'TValue>
interface ICollection<KeyValuePair<'TKey, 'TValue>>
interface IEnumerable<KeyValuePair<'TKey, 'TValue>>
interface IEnumerable
interface IAvaloniaReadOnlyDictionary<'TKey, 'TValue>
interface IReadOnlyDictionary<'TKey, 'TValue>
interface IReadOnlyCollection<KeyValuePair<'TKey, 'TValue>>
interface INotifyCollectionChanged
interface INotifyPropertyChanged
interface IDictionary
interface ICollection
end
Implements | IAvaloniaReadOnlyDictionary(TKey, TValue), ICollection(KeyValuePair(TKey, TValue)), IDictionary(TKey, TValue), IEnumerable(KeyValuePair(TKey, TValue)), IReadOnlyCollection(KeyValuePair(TKey, TValue)), IReadOnlyDictionary(TKey, TValue), ICollection, IDictionary, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged |
Type Parameters
Properties
Count | Gets the number of elements contained in the ICollection(T). (Inherited from ICollection(KeyValuePair(TKey, TValue))) |
IsFixedSize | Gets a value indicating whether the IDictionary object has a fixed size. (Inherited from IDictionary) |
IsReadOnly | Gets a value indicating whether the ICollection(T) is read-only. (Inherited from ICollection(KeyValuePair(TKey, TValue))) |
IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from ICollection) |
Item(TKey) | Gets or sets the element with the specified key. (Inherited from IDictionary(TKey, TValue)) |
Item(Object) | Gets or sets the element with the specified key. (Inherited from IDictionary) |
Keys | Gets an ICollection(T) containing the keys of the IDictionary(TKey, TValue). (Inherited from IDictionary(TKey, TValue)) |
SyncRoot | Gets an object that can be used to synchronize access to the ICollection. (Inherited from ICollection) |
Values | Gets an ICollection(T) containing the values in the IDictionary(TKey, TValue). (Inherited from IDictionary(TKey, TValue)) |
Methods
Add(T) | Adds an item to the ICollection(T). (Inherited from ICollection(KeyValuePair(TKey, TValue))) |
Add(TKey, TValue) | Adds an element with the provided key and value to the IDictionary(TKey, TValue). (Inherited from IDictionary(TKey, TValue)) |
Add(Object, Object) | Adds an element with the provided key and value to the IDictionary object. (Inherited from IDictionary) |
Clear() | Removes all items from the ICollection(T). (Inherited from ICollection(KeyValuePair(TKey, TValue))) |
Contains(T) | Determines whether the ICollection(T) contains a specific value. (Inherited from ICollection(KeyValuePair(TKey, TValue))) |
Contains(Object) | Determines whether the IDictionary object contains an element with the specified key. (Inherited from IDictionary) |
ContainsKey(TKey) | Determines whether the IDictionary(TKey, TValue) contains an element with the specified key. (Inherited from IDictionary(TKey, TValue)) |
CopyTo(Array, Int32) | Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection) |
CopyTo(T[], Int32) | Copies the elements of the ICollection(T) to an Array, starting at a particular Array index. (Inherited from ICollection(KeyValuePair(TKey, TValue))) |
GetEnumerator() | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable(KeyValuePair(TKey, TValue))) |
Remove(TKey) | Removes the element with the specified key from the IDictionary(TKey, TValue). (Inherited from IDictionary(TKey, TValue)) |
Remove(T) | Removes the first occurrence of a specific object from the ICollection(T). (Inherited from ICollection(KeyValuePair(TKey, TValue))) |
Remove(Object) | Removes the element with the specified key from the IDictionary object. (Inherited from IDictionary) |
TryGetValue(TKey, TValue) | Gets the value associated with the specified key. (Inherited from IDictionary(TKey, TValue)) |
Events
CollectionChanged | Occurs when the collection changes. (Inherited from INotifyCollectionChanged) |
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged) |
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) |