Beispiel #1
0
 protected virtual void RaiseCollectionChanging(NotifyCollectionChangedEventArgs args)
 {
     // WPF doesn't seem to care much about Range notifications in this case,
     // so we'll just pass those right through
     CollectionChanging?.Invoke(this, args);
 }
Beispiel #2
0
 private void OnCollectionChanging(CollectionChangeEventArgs ccevent)
 {
     CollectionChanging?.Invoke(this, ccevent);
 }
Beispiel #3
0
 protected void OnCollectionChanging(NotifyCollectionChangingEventArgs e)
 {
     CollectionChanging?.Invoke(this, e);
 }
Beispiel #4
0
 /// <summary>
 /// Raises the <see cref="E:CollectionChanging"/> event.
 /// </summary>
 /// <param name="e">The <see cref="CollectionChangingEventArgs"/> instance containing the event data.</param>
 protected virtual void OnCollectionChanging(CollectionChangingEventArgs e)
 {
     CollectionChanging?.Invoke(this, e);
 }
 private void RaiseCollectionChanging(CollectionChanging action, DateTime addingDate)
 {
     if (m_collectionChanging is {})
Beispiel #6
0
 private void RaiseCollectionChanging(object sender, NotifyCollectionChangingEventArgs e)
 {
     OnCollectionChanging(sender, e);
     CollectionChanging?.Invoke(this, e);
 }