public ISubscriberReference <TPayload> Build(IBus _bus, RabbitSenderOptions options)
 {
     return(new RabbitForwardingSubscriberReference <TPayload, TRemote>(_bus, options, _transform));
 }
 public ISubscriberReference <TPayload> Build(IBus _bus, RabbitSenderOptions options)
 {
     return(new RabbitForwardingSubscriberReference <TPayload, RabbitEnvelope <TPayload> >(_bus, options, (e, t) => RabbitEnvelope <TPayload> .Wrap(_messageBusId, e, t)));
 }
 public RabbitForwardingSubscriberReference(IBus bus, RabbitSenderOptions options, Func <Envelope <TPayload>, string, TRemote> transform)
 {
     _bus       = bus;
     _options   = options;
     _transform = transform;
 }