Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Support.Middleware.DynamicPreRoutingMiddleware.Add Method

Add a callback invoked to handle the current request.

Class: YetaWF.Core.Support.Middleware.DynamicPreRoutingMiddleware
Namespace: YetaWF.Core.Support.Middleware
Assembly: YetaWF.Core

Syntax

public static void Add( Func<HttpContext,Task<bool>> func );

Parameters

func

Defines the callback invoked to handle the request. The callback returns true if the request was processed, false otherwide.

See Also YetaWF.Core.Support.Middleware.DynamicPreRoutingMiddleware ClassYetaWF.Core Overview