IAvaloniaReadOnlyDictionary<TKey, TValue> Interface
Definition
Namespace: Avalonia.Collections
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public interface IAvaloniaReadOnlyDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>,
IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, IReadOnlyCollection<KeyValuePair<TKey, TValue>>,
INotifyCollectionChanged, INotifyPropertyChanged
Public Interface IAvaloniaReadOnlyDictionary(Of TKey, TValue)
Inherits IReadOnlyDictionary(Of TKey, TValue), IEnumerable(Of KeyValuePair(Of TKey, TValue)),
IEnumerable, IReadOnlyCollection(Of KeyValuePair(Of TKey, TValue)),
INotifyCollectionChanged, INotifyPropertyChanged
type IAvaloniaReadOnlyDictionary<'TKey, 'TValue> =
interface
interface IReadOnlyDictionary<'TKey, 'TValue>
interface IEnumerable<KeyValuePair<'TKey, 'TValue>>
interface IEnumerable
interface IReadOnlyCollection<KeyValuePair<'TKey, 'TValue>>
interface INotifyCollectionChanged
interface INotifyPropertyChanged
end
Implements | IEnumerable(KeyValuePair(TKey, TValue)), IReadOnlyCollection(KeyValuePair(TKey, TValue)), IReadOnlyDictionary(TKey, TValue), IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged |
Type Parameters
Properties
Count | Gets the number of elements in the collection. (Inherited from IReadOnlyCollection(KeyValuePair(TKey, TValue))) |
Item(TKey) | Gets the element that has the specified key in the read-only dictionary. (Inherited from IReadOnlyDictionary(TKey, TValue)) |
Keys | Gets an enumerable collection that contains the keys in the read-only dictionary. (Inherited from IReadOnlyDictionary(TKey, TValue)) |
Values | Gets an enumerable collection that contains the values in the read-only dictionary. (Inherited from IReadOnlyDictionary(TKey, TValue)) |
Methods
ContainsKey(TKey) | Determines whether the read-only dictionary contains an element that has the specified key. (Inherited from IReadOnlyDictionary(TKey, TValue)) |
GetEnumerator() | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable(KeyValuePair(TKey, TValue))) |
TryGetValue(TKey, TValue) | Gets the value that is associated with the specified key. (Inherited from IReadOnlyDictionary(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) |