MapWhenExtensions Class

Definition

Extension methods for the MapWhenMiddleware.

public ref class MapWhenExtensions abstract sealed
public static class MapWhenExtensions
type MapWhenExtensions = class
Public Module MapWhenExtensions
Inheritance
MapWhenExtensions

Methods

MapWhen(IApplicationBuilder, Func<HttpContext,Boolean>, Action<IApplicationBuilder>)

Branches the request pipeline based on the result of the given predicate.

Applies to