コード例 #1
0
 public void Dispose()
 {
     if (this.parent != null)
     {
         this.parent.EndIgnoreEvents();
         this.parent = null;
     }
     GC.SuppressFinalize(this);
 }
コード例 #2
0
 public void Dispose()
 {
     if (this.parent != null)
     {
         this.parent.EndIgnoreEvents();
         this.parent = null;
     }
     GC.SuppressFinalize(this);
 }
コード例 #3
0
 public IgnoreViewEventsHelper(EnumerableCollectionView parent)
 {
     this.parent = parent;
     this.parent.BeginIgnoreEvents();
 }
コード例 #4
0
 public IgnoreViewEventsHelper(EnumerableCollectionView parent)
 {
     this.parent = parent;
     this.parent.BeginIgnoreEvents();
 }
コード例 #5
0
        private void EndIgnoreEvents()
        {
            EnumerableCollectionView enumerableCollectionView = this;

            enumerableCollectionView.ignoreEventsLevel = enumerableCollectionView.ignoreEventsLevel - 1;
        }
コード例 #6
0
        private void BeginIgnoreEvents()
        {
            EnumerableCollectionView enumerableCollectionView = this;

            enumerableCollectionView.ignoreEventsLevel = enumerableCollectionView.ignoreEventsLevel + 1;
        }