public void Send(ISendContext context) { if (_disposed) { throw new ObjectDisposedException("The transport has already been disposed: " + Address); } OutboundTransport.Send(context); }
public ITargetBlock <UpdateMessageDto> CreateSenderBlock() { return(new ActionBlock <UpdateMessageDto>(um => OutboundTransport.Send(um))); }