public HandlerPipeline(IEnvelopeSerializer serializer, IEnvelopeLifecycle lifecycle, IEnumerable<IEnvelopeHandler> handlers) { _serializer = serializer; _lifecycle = lifecycle; _handlers.AddRange(handlers); }
public HandlerPipeline(IEnvelopeSerializer serializer, IEnvelopeLifecycle lifecycle, IEnumerable <IEnvelopeHandler> handlers) { _serializer = serializer; _lifecycle = lifecycle; _handlers.AddRange(handlers); }