Пример #1
0
 public void Use(InvokeMiddlewareDelegate middleware)
 {
     throw new System.NotImplementedException();
 }
Пример #2
0
 public InvokeMiddleware(InvokeMiddlewareDelegate middleware)
 {
     _middlewareDelegate = middleware;
 }
Пример #3
0
 /// <inheritdoc/>
 public IApplicationBuilder Register(InvokeMiddlewareDelegate middleware)
 {
     Register(new InvokeMiddleware(middleware));
     return(this);
 }
Пример #4
0
 /// <inheritdoc/>
 public void Use(InvokeMiddlewareDelegate middleware)
 {
     UseMiddleware(new InvokeMiddleware(middleware));
 }