public void Dispose() { if (_target != null) { CollectionViewSource target = _target; _target = null; target.EndDefer(); } #if NETSTANDARD GC.SuppressFinalize(this); #endif }