Fix XML doc on HttpMethodAttribute and derived ones

This commit is contained in:
Piotr Wosiek 2018-10-29 22:00:09 +01:00 committed by Pranav K
parent 35d2ab37f7
commit af6527dcef
8 changed files with 8 additions and 8 deletions

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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