Merge pull request #8672 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
This commit is contained in:
commit
16b15fcb2a
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc.Routing;
|
|||
namespace Microsoft.AspNetCore.Mvc
|
||||
{
|
||||
/// <summary>
|
||||
/// Identifies an action that only supports the HTTP DELETE method.
|
||||
/// Identifies an action that supports the HTTP DELETE method.
|
||||
/// </summary>
|
||||
public class HttpDeleteAttribute : HttpMethodAttribute
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc.Routing;
|
|||
namespace Microsoft.AspNetCore.Mvc
|
||||
{
|
||||
/// <summary>
|
||||
/// Identifies an action that only supports the HTTP GET method.
|
||||
/// Identifies an action that supports the HTTP GET method.
|
||||
/// </summary>
|
||||
public class HttpGetAttribute : HttpMethodAttribute
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc.Routing;
|
|||
namespace Microsoft.AspNetCore.Mvc
|
||||
{
|
||||
/// <summary>
|
||||
/// Identifies an action that only supports the HTTP HEAD method.
|
||||
/// Identifies an action that supports the HTTP HEAD method.
|
||||
/// </summary>
|
||||
public class HttpHeadAttribute : HttpMethodAttribute
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc.Routing;
|
|||
namespace Microsoft.AspNetCore.Mvc
|
||||
{
|
||||
/// <summary>
|
||||
/// Identifies an action that only supports the HTTP OPTIONS method.
|
||||
/// Identifies an action that supports the HTTP OPTIONS method.
|
||||
/// </summary>
|
||||
public class HttpOptionsAttribute : HttpMethodAttribute
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc.Routing;
|
|||
namespace Microsoft.AspNetCore.Mvc
|
||||
{
|
||||
/// <summary>
|
||||
/// Identifies an action that only supports the HTTP PATCH method.
|
||||
/// Identifies an action that supports the HTTP PATCH method.
|
||||
/// </summary>
|
||||
public class HttpPatchAttribute : HttpMethodAttribute
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc.Routing;
|
|||
namespace Microsoft.AspNetCore.Mvc
|
||||
{
|
||||
/// <summary>
|
||||
/// Identifies an action that only supports the HTTP POST method.
|
||||
/// Identifies an action that supports the HTTP POST method.
|
||||
/// </summary>
|
||||
public class HttpPostAttribute : HttpMethodAttribute
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc.Routing;
|
|||
namespace Microsoft.AspNetCore.Mvc
|
||||
{
|
||||
/// <summary>
|
||||
/// Identifies an action that only supports the HTTP PUT method.
|
||||
/// Identifies an action that supports the HTTP PUT method.
|
||||
/// </summary>
|
||||
public class HttpPutAttribute : HttpMethodAttribute
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Collections.Generic;
|
|||
namespace Microsoft.AspNetCore.Mvc.Routing
|
||||
{
|
||||
/// <summary>
|
||||
/// Identifies an action that only supports a given set of HTTP methods.
|
||||
/// Identifies an action that supports a given set of HTTP methods.
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
|
||||
public abstract class HttpMethodAttribute : Attribute, IActionHttpMethodProvider, IRouteTemplateProvider
|
||||
|
|
|
|||
Loading…
Reference in New Issue