예제 #1
0
 public void Dispose()
 {
     if (this.collectionView != null)
     {
         this.collectionView.EndDefer();
         this.collectionView = null;
     }
     GC.SuppressFinalize(this);
 }
예제 #2
0
 // Methods
 public NewItemAwareEnumerator(PagedCollectionView collectionView, IEnumerator baseEnumerator, object newItem)
 {
     this._collectionView = collectionView;
     this._timestamp = collectionView.Timestamp;
     this._baseEnumerator = baseEnumerator;
     this._newItem = newItem;
 }
예제 #3
0
 // Methods
 public DeferHelper(PagedCollectionView collectionView)
 {
     this.collectionView = collectionView;
 }