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