/// <summary> /// Link current Middleware with next Middleware. /// </summary> /// <param name="middleware"> Middleware that will be linked to current Middleware. </param> /// <returns> Linked middleware. </returns> public Middleware LinkWith(Middleware middleware) { return(_next = middleware); }
public HelloWorldMiddeware(string routing, Middleware middleware) : base(routing, middleware) { }
public WeatherMiddleware(string routing, Middleware next) : base(routing, next) { }