public IPipe <ConsumeContext <TMessage> > BuildMessagePipe(IPipe <ConsumeContext <TMessage> > pipe) { var pipeBuilder = new SpecificationPipeBuilder <ConsumeContext <TMessage> >(); Apply(pipeBuilder); return(pipeBuilder.Build(pipe)); }
public IPipe <SendContext <TMessage> > BuildMessagePipe() { var pipeBuilder = new SpecificationPipeBuilder <SendContext <TMessage> >(); Apply(pipeBuilder); return(pipeBuilder.Build()); }