public SecondMiddlewareWithPipe(RequestDelegate next, IPipedMiddlewareParameter <int> pipedParam) : base(pipedParam)
 {
     this.next = next ?? throw new ArgumentNullException(nameof(next));
 }
示例#2
0
 public BaseMiddlewareWithPipe(IPipedMiddlewareParameter <T> dep)
 {
     _pipe = dep ?? throw new ArgumentNullException(nameof(dep));;
 }