UseWhenExtensions Class

Definition

Extension methods for IApplicationBuilder.

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

Methods

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

Conditionally creates a branch in the request pipeline that is rejoined to the main pipeline.

Applies to