Class MethodAttribute
The HTTP Method.
Inherited Members
Namespace: nanoFramework.WebServer
Assembly: nanoFramework.WebServer.dll
Syntax
[AttributeUsage(AttributeTargets.Method)]
public class MethodAttribute : Attribute
Constructors
MethodAttribute(string)
Creates a method attribute.
Declaration
public MethodAttribute(string method)
Parameters
Type | Name | Description |
---|---|---|
string | method | The method. |
Properties
Method
Gets or sets the method.
Declaration
public string Method { get; set; }
Property Value
Type | Description |
---|---|
string |