Exemple #1
0
 protected virtual bool OnCollectionChanging(NotifyCollectionChangingEventArgs e)
 {
     if (this.update != 0 || this.itemUpdate != 0)
     {
         return(false);
     }
     this.NotifyListenersCollectionChanging(e);
     return(e.Cancel);
 }
Exemple #2
0
 protected internal void CallCollectionChanging(
     object sender,
     NotifyCollectionChangingEventArgs e)
 {
     if (this.CollectionChanging == null)
     {
         return;
     }
     this.CollectionChanging(sender, e);
 }
Exemple #3
0
 private void predicates_CollectionChanging(object sender, NotifyCollectionChangingEventArgs e)
 {
     this.RebuildFilter();
 }