示例#1
0
 public HandlerPipeline(IEnvelopeSerializer serializer, IEnvelopeLifecycle lifecycle, IEnumerable<IEnvelopeHandler> handlers)
 {
     _serializer = serializer;
     _lifecycle = lifecycle;
     _handlers.AddRange(handlers);
 }
示例#2
0
 public HandlerPipeline(IEnvelopeSerializer serializer, IEnvelopeLifecycle lifecycle, IEnumerable <IEnvelopeHandler> handlers)
 {
     _serializer = serializer;
     _lifecycle  = lifecycle;
     _handlers.AddRange(handlers);
 }