Exemplo n.º 1
0
        public override Transformation ShiftBehind(BlockTransformProvider provider)
        {
            var other      = provider as BlockProvider;
            var lineSource = _source;

            if (lineSource != other._source)
            {
                throw new NotSupportedException("Cannot shift between sources");
            }

            return(new SourceTransformation((view, source) =>
            {
                source.ShiftBehind(view, _line, other._line);
            }, lineSource));
        }
Exemplo n.º 2
0
 public override Transformation ShiftBefore(BlockTransformProvider provider)
 {
     throw new NotImplementedException();
 }