예제 #1
0
 /// <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);
 }
예제 #2
0
 public HelloWorldMiddeware(string routing, Middleware middleware) : base(routing, middleware)
 {
 }
예제 #3
0
 public WeatherMiddleware(string routing, Middleware next) : base(routing, next)
 {
 }