示例#1
0
            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));
            }
示例#2
0
            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));
            }
示例#3
0
 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));