/// <summary> /// Maintain the DataView before <see cref="DataView.ListChanged"/> is raised. /// </summary> internal void MaintainDataView(ListChangedType changedType, DataRow row, bool trackAddRemove) { DataView dv = (DataView)_dvWeak.Target; if (dv != null) { dv.MaintainDataView(changedType, row, trackAddRemove); } else { CleanUp(true); } }
internal void MaintainDataView(ListChangedType changedType, DataRow row, bool trackAddRemove) { DataView target = (DataView)this._dvWeak.Target; if (target != null) { target.MaintainDataView(changedType, row, trackAddRemove); } else { this.CleanUp(true); } }