Example #1
0
 public FunctionSegment(
     Segment <TSegmentRequest, TNextRequest, TNextResponse, TSegmentResponse> middleware,
     IServiceResolver resolver,
     PipelineSegment <TRequest, TSegmentRequest, TSegmentResponse, TResponse> tail
     ) : base(resolver)
 {
     _middleware = middleware;
     _tail       = tail;
 }
Example #2
0
 public ServiceSegment(
     IServiceResolver strategy,
     PipelineSegment <TRequest, TNextRequest, TNextResponse, TResponse> tail
     ) : base(strategy)
     => _tail = tail;
 public ServiceProcessPipelineFactory(IServiceResolver resolver, PipelineSegment <TRequest, TProcessRequest, TProcessResponse, TResponse> tail)
 {
     _resolver = resolver;
     _tail     = tail;
 }