Class HttpGetAttribute
Specifies that an action supports the GET HTTP method.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class HttpGetAttribute : Attribute, IActionHttpMethodProvider
- Inheritance
-
HttpGetAttribute
- Implements
- Inherited Members
Constructors
HttpGetAttribute()
Initializes a new instance of the HttpGetAttribute class.
public HttpGetAttribute()
Properties
HttpMethods
public Collection<HttpMethod> HttpMethods { get; }