Table of Contents

Class RegexRouteAttribute

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

Represents a mapping to an route, which it's path is defined by an regular expression. This attribute is an shorthand from RouteAttribute.

[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
public class RegexRouteAttribute : RouteAttribute
Inheritance
RegexRouteAttribute
Inherited Members

Constructors

RegexRouteAttribute(RouteMethod, string)

Creates an new RouteGetAttribute attribute instance with given path.