public MediatorPipe(MediatorPublishEndpoint endpoint, IPipe <SendContext <TMessage> > pipe)
 {
     _endpoint = endpoint;
     _pipe     = pipe;
 }
 public MediatorPipe(MediatorPublishEndpoint endpoint)
 {
     _endpoint = endpoint;
     _pipe     = default;
 }