Rebornbuddy
Loading...
Searching...
No Matches
System.Collections.ObjectModel.ObservableDictionary< TKey, TValue > Class Template Reference
Inheritance diagram for System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >:

Public Member Functions

 ObservableDictionary ()
 ObservableDictionary (IDictionary< TKey, TValue > dictionary)
 ObservableDictionary (IEqualityComparer< TKey > comparer)
 ObservableDictionary (int capacity)
 ObservableDictionary (IDictionary< TKey, TValue > dictionary, IEqualityComparer< TKey > comparer)
 ObservableDictionary (int capacity, IEqualityComparer< TKey > comparer)
void Add (TKey key, TValue value)
bool ContainsKey (TKey key)
bool Remove (TKey key)
bool TryGetValue (TKey key, out TValue value)
void Add (KeyValuePair< TKey, TValue > item)
void Clear ()
bool Contains (KeyValuePair< TKey, TValue > item)
void CopyTo (KeyValuePair< TKey, TValue >[] array, int arrayIndex)
bool Remove (KeyValuePair< TKey, TValue > item)
IEnumerator< KeyValuePair< TKey, TValue > > GetEnumerator ()
void AddRange (IDictionary< TKey, TValue > items)

Protected Member Functions

virtual void OnPropertyChanged (string propertyName)

Properties

IDictionary< TKey, TValue > Dictionary [get]
ICollection< TKey > Keys [get]
ICollection< TValue > Values [get]
TValue this[TKey key] [get, set]
int Count [get]
bool IsReadOnly [get]

Events

NotifyCollectionChangedEventHandler CollectionChanged
PropertyChangedEventHandler PropertyChanged

Member Function Documentation

◆ Add() [1/2]

void System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.Add ( KeyValuePair< TKey, TValue > item)

◆ Add() [2/2]

void System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.Add ( TKey key,
TValue value )

◆ AddRange()

void System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.AddRange ( IDictionary< TKey, TValue > items)

◆ Clear()

void System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.Clear ( )

◆ Contains()

bool System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.Contains ( KeyValuePair< TKey, TValue > item)

◆ ContainsKey()

bool System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.ContainsKey ( TKey key)

◆ CopyTo()

void System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.CopyTo ( KeyValuePair< TKey, TValue >[] array,
int arrayIndex )

◆ GetEnumerator()

IEnumerator< KeyValuePair< TKey, TValue > > System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.GetEnumerator ( )

◆ ObservableDictionary() [1/6]

System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.ObservableDictionary ( )

◆ ObservableDictionary() [2/6]

System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.ObservableDictionary ( IDictionary< TKey, TValue > dictionary)

◆ ObservableDictionary() [3/6]

System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.ObservableDictionary ( IDictionary< TKey, TValue > dictionary,
IEqualityComparer< TKey > comparer )

◆ ObservableDictionary() [4/6]

System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.ObservableDictionary ( IEqualityComparer< TKey > comparer)

◆ ObservableDictionary() [5/6]

System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.ObservableDictionary ( int capacity)

◆ ObservableDictionary() [6/6]

System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.ObservableDictionary ( int capacity,
IEqualityComparer< TKey > comparer )

◆ OnPropertyChanged()

virtual void System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.OnPropertyChanged ( string propertyName)
protectedvirtual

◆ Remove() [1/2]

bool System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.Remove ( KeyValuePair< TKey, TValue > item)

◆ Remove() [2/2]

bool System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.Remove ( TKey key)

◆ TryGetValue()

bool System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.TryGetValue ( TKey key,
out TValue value )

Property Documentation

◆ Count

int System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.Count
get

◆ Dictionary

IDictionary<TKey, TValue> System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.Dictionary
getprotected

◆ IsReadOnly

bool System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.IsReadOnly
get

◆ Keys

ICollection<TKey> System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.Keys
get

◆ this[TKey key]

TValue System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.this[TKey key]
getset

◆ Values

ICollection<TValue> System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.Values
get

Event Documentation

◆ CollectionChanged

NotifyCollectionChangedEventHandler System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.CollectionChanged

◆ PropertyChanged

PropertyChangedEventHandler System.Collections.ObjectModel.ObservableDictionary< TKey, TValue >.PropertyChanged