Beispiel #1
0
        public void Send(ISendContext context)
        {
            if (_disposed)
            {
                throw new ObjectDisposedException("The transport has already been disposed: " + Address);
            }

            OutboundTransport.Send(context);
        }
Beispiel #2
0
 public ITargetBlock <UpdateMessageDto> CreateSenderBlock()
 {
     return(new ActionBlock <UpdateMessageDto>(um => OutboundTransport.Send(um)));
 }