public void Dispose() { if (this.target != null) { CollectionViewSource collectionViewSource = this.target; this.target = null; collectionViewSource.EndDefer(); } GC.SuppressFinalize(this); }
public FilterStub(CollectionViewSource parent) { this.parent = new WeakReference(parent); this.filterWrapper = new Predicate<object>(this.WrapFilter); }
public DeferHelper(CollectionViewSource target) { this.target = target; this.target.BeginDefer(); }