Class HttpPutAttribute
Represents an attribute that is used to restrict an HTTP method so that the method handles only HTTP PUT requests.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class HttpPutAttribute : Attribute, IActionHttpMethodProvider
- Inheritance
-
HttpPutAttribute
- Implements
- Inherited Members
Constructors
HttpPutAttribute()
Initializes a new instance of the HttpPutAttribute class.
public HttpPutAttribute()
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.