Class HttpPatchAttribute
Specifies that an action supports the PATCH HTTP method.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class HttpPatchAttribute : Attribute, IActionHttpMethodProvider
- Inheritance
-
HttpPatchAttribute
- Implements
- Inherited Members
Constructors
HttpPatchAttribute()
Initializes a new instance of the HttpPatchAttribute class.
public HttpPatchAttribute()
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.