Table of Contents

Constructor RegexRouteAttribute

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

RegexRouteAttribute(RouteMethod, string)

Creates an new RouteGetAttribute attribute instance with given path.

public RegexRouteAttribute(RouteMethod method, string pattern)

Parameters

method RouteMethod

The route entry point method.

pattern string

The Regex pattern which will match the route.