Exemplo n.º 1
0
        public MoveMessageSendContext(IReceiveContext context)
        {
            SetUsing(context);

            Id = context.Id;

            _notifySend = address => context.NotifySend(this, address);

            _bodyWriter = stream => context.CopyBodyTo(stream);
        }
Exemplo n.º 2
0
 public void CopyBodyTo(Stream stream)
 {
     _context.CopyBodyTo(stream);
 }