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 sealed 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.