MapWhenExtensions Class

 

Extension methods for the MapWhenMiddleware

Namespace:   Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

System::Object
  Owin::MapWhenExtensions

[ExtensionAttribute]
public ref class MapWhenExtensions abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticMapWhen(IAppBuilder^, Func<IOwinContext^, Boolean>^, Action<IAppBuilder^>^)

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

System_CAPS_pubmethodSystem_CAPS_staticMapWhenAsync(IAppBuilder^, Func<IOwinContext^, Task<Boolean>^>^, Action<IAppBuilder^>^)

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: