protected Func <bool> GetIdComparer(DataViewRow r1, DataViewRow r2, out ValueGetter <DataViewRowId> idGetter) { var g1 = r1.GetIdGetter(); idGetter = g1; var g2 = r2.GetIdGetter(); DataViewRowId v1 = default(DataViewRowId); DataViewRowId v2 = default(DataViewRowId); return (() => { g1(ref v1); g2(ref v2); return v1.Equals(v2); }); }
public override ValueGetter <DataViewRowId> GetIdGetter() => _input.GetIdGetter();