public DataViewRow GetRow(DataViewRow input, Func <int, bool> active) { var getters = _mapper.CreateGetters(input, active, out Action disposer); var pingers = _mapper.CreatePinger(input, active, out Action pingerDisposer); return(new RowImpl(_bindings.Schema, input, getters, pingers, disposer + pingerDisposer)); }
DataViewRow IRowToRowMapper.GetRow(DataViewRow input, IEnumerable <DataViewSchema.Column> activeColumns) { var active = RowCursorUtils.FromColumnsToPredicate(activeColumns, OutputSchema); var getters = _mapper.CreateGetters(input, active, out Action disposer); var pingers = _mapper.CreatePinger(input, active, out Action pingerDisposer); return(new RowImpl(_bindings, input, getters, pingers, disposer + pingerDisposer)); }
public IRow GetRow(IRow input, Func <int, bool> active, out Action disposer) => new Row(_bindings.Schema, input, _mapper.CreateGetters(input, active, out disposer), _mapper.CreatePinger(input, active, out disposer));