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