Table of Contents

Class RouteGetAttribute

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

Represents a mapping to an HTTP GET route. This attribute is an shorthand from RouteAttribute.

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

Constructors

RouteGetAttribute()

Creates an new RouteGetAttribute attribute instance with an root path (/).

RouteGetAttribute(string)

Creates an new RouteGetAttribute attribute instance with given path.