MapWhenMiddleware Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a middleware that runs a sub-request pipeline when a given predicate is matched.
public ref class MapWhenMiddleware
public class MapWhenMiddleware
type MapWhenMiddleware = class
Public Class MapWhenMiddleware
- Inheritance
-
MapWhenMiddleware
Constructors
| Name | Description |
|---|---|
| MapWhenMiddleware(RequestDelegate, MapWhenOptions) |
Creates a new instance of MapWhenMiddleware. |
Methods
| Name | Description |
|---|---|
| Invoke(HttpContext) |
Executes the middleware. |