Sisk

Method

Router.IsDefined

Namespace
Sisk.Core.Routing
Assembly
Sisk.Core.dll

IsDefined(RouteMethod, string) #

Gets an boolean indicating if there are any route that matches the specified method and route path.

C#
public bool IsDefined(RouteMethod method, string path)

Parameters #

method RouteMethod

The route method.

path string

The route path.

Returns #

bool

Type to search the documentation and the API reference.