Table of Contents

Class RouteAttribute

Namespace
nanoFramework.WebServer
Assembly
nanoFramework.WebServer.dll

Route custom attribute.

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

Remarks

For example: test/any. For details on how to use, see: https://github.com/nanoframework/nanoFramework.WebServer#usage

Constructors

RouteAttribute(string)

A route attribute.

public RouteAttribute(string route)

Parameters

route string

The complete route like 'route/second/third'.

Properties

Route

Gets or sets the route.

public string Route { get; set; }

Property Value

string