public MessagePublishPipe(IPipe <PublishContext <TMessage> > outputPipe) { _outputPipe = outputPipe; _observers = new PublishMessageObservable <TMessage>(); }
public MessagePublishFilter(IEnumerable <IFilter <PublishContext <TMessage> > > filters) { _outputPipe = BuildFilterPipe(filters.ToArray()); _messageObservers = new PublishMessageObservable <TMessage>(); }