12[DebuggerDisplay(
"Count = {Count}")]
13[
TypeForwardedFrom(
"WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
17 [
TypeForwardedFrom(
"WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
134 this.PropertyChanged?.Invoke(
this, e);
140 if (collectionChanged !=
null)
165 if (collectionChanged !=
null &&
collectionChanged.GetInvocationList().Length > 1)
static readonly NotifyCollectionChangedEventArgs ResetCollectionChanged
static readonly PropertyChangedEventArgs IndexerPropertyChanged
static readonly PropertyChangedEventArgs CountPropertyChanged
SimpleMonitor(ObservableCollection< T > collection)
ObservableCollection< T > _collection
PropertyChangedEventHandler? INotifyPropertyChanged. PropertyChanged
ObservableCollection(List< T > list)
virtual ? PropertyChangedEventHandler PropertyChanged
void Move(int oldIndex, int newIndex)
override void RemoveItem(int index)
static List< T > CreateCopy(IEnumerable< T > collection, string paramName)
virtual ? NotifyCollectionChangedEventHandler CollectionChanged
void OnCollectionChanged(NotifyCollectionChangedAction action, object item, int index, int oldIndex)
void OnCollectionChanged(NotifyCollectionChangedAction action, object item, int index)
void OnIndexerPropertyChanged()
IDisposable BlockReentrancy()
virtual void OnPropertyChanged(PropertyChangedEventArgs e)
ObservableCollection(IEnumerable< T > collection)
override void InsertItem(int index, T item)
void OnDeserialized(StreamingContext context)
override void SetItem(int index, T item)
void OnSerializing(StreamingContext context)
override void ClearItems()
void OnCollectionChanged(NotifyCollectionChangedAction action, object oldItem, object newItem, int index)
void OnCountPropertyChanged()
int _blockReentrancyCount
virtual void MoveItem(int oldIndex, int newIndex)
virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
SimpleMonitor EnsureMonitorInitialized()
static string ObservableCollectionReentrancyNotAllowed
NotifyCollectionChangedAction
delegate void NotifyCollectionChangedEventHandler(object? sender, NotifyCollectionChangedEventArgs e)