Class HttpDeleteAttribute
Specifies that an action supports the DELETE HTTP method.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class HttpDeleteAttribute : Attribute, IActionHttpMethodProvider
- Inheritance
-
HttpDeleteAttribute
- Implements
- Inherited Members
Constructors
HttpDeleteAttribute()
Initializes a new instance of the HttpDeleteAttribute class.
public HttpDeleteAttribute()
Properties
HttpMethods
Gets the http methods that correspond to this attribute.
public Collection<HttpMethod> HttpMethods { get; }
Property Value
- Collection<HttpMethod>
The http methods that correspond to this attribute.