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