Class RegexRouteAttribute
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 sealed class RegexRouteAttribute : RouteAttribute
- Inheritance
-
RegexRouteAttribute
- Inherited Members
Constructors
- RegexRouteAttribute(RouteMethod, string)
Creates an new RouteGetAttribute attribute instance with given path.