Class RouteAttribute
Route custom attribute.
Inherited Members
Namespace: nanoFramework.WebServer
Assembly: nanoFramework.WebServer.dll
Syntax
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public class RouteAttribute : Attribute
Constructors
RouteAttribute(string)
A route attribute.
Declaration
public RouteAttribute(string route)
Parameters
Type | Name | Description |
---|---|---|
string | route | The complete route like 'route/second/third'. |
Properties
Route
Gets or sets the route.
Declaration
public string Route { get; set; }
Property Value
Type | Description |
---|---|
string |