Fix XML doc on HttpMethodAttribute and derived ones
This commit is contained in:
parent
35d2ab37f7
commit
af6527dcef
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc.Routing;
|
||||||
namespace Microsoft.AspNetCore.Mvc
|
namespace Microsoft.AspNetCore.Mvc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identifies an action that only supports the HTTP DELETE method.
|
/// Identifies an action that supports the HTTP DELETE method.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class HttpDeleteAttribute : HttpMethodAttribute
|
public class HttpDeleteAttribute : HttpMethodAttribute
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc.Routing;
|
||||||
namespace Microsoft.AspNetCore.Mvc
|
namespace Microsoft.AspNetCore.Mvc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identifies an action that only supports the HTTP GET method.
|
/// Identifies an action that supports the HTTP GET method.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class HttpGetAttribute : HttpMethodAttribute
|
public class HttpGetAttribute : HttpMethodAttribute
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc.Routing;
|
||||||
namespace Microsoft.AspNetCore.Mvc
|
namespace Microsoft.AspNetCore.Mvc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identifies an action that only supports the HTTP HEAD method.
|
/// Identifies an action that supports the HTTP HEAD method.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class HttpHeadAttribute : HttpMethodAttribute
|
public class HttpHeadAttribute : HttpMethodAttribute
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc.Routing;
|
||||||
namespace Microsoft.AspNetCore.Mvc
|
namespace Microsoft.AspNetCore.Mvc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identifies an action that only supports the HTTP OPTIONS method.
|
/// Identifies an action that supports the HTTP OPTIONS method.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class HttpOptionsAttribute : HttpMethodAttribute
|
public class HttpOptionsAttribute : HttpMethodAttribute
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc.Routing;
|
||||||
namespace Microsoft.AspNetCore.Mvc
|
namespace Microsoft.AspNetCore.Mvc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identifies an action that only supports the HTTP PATCH method.
|
/// Identifies an action that supports the HTTP PATCH method.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class HttpPatchAttribute : HttpMethodAttribute
|
public class HttpPatchAttribute : HttpMethodAttribute
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc.Routing;
|
||||||
namespace Microsoft.AspNetCore.Mvc
|
namespace Microsoft.AspNetCore.Mvc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identifies an action that only supports the HTTP POST method.
|
/// Identifies an action that supports the HTTP POST method.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class HttpPostAttribute : HttpMethodAttribute
|
public class HttpPostAttribute : HttpMethodAttribute
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc.Routing;
|
||||||
namespace Microsoft.AspNetCore.Mvc
|
namespace Microsoft.AspNetCore.Mvc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identifies an action that only supports the HTTP PUT method.
|
/// Identifies an action that supports the HTTP PUT method.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class HttpPutAttribute : HttpMethodAttribute
|
public class HttpPutAttribute : HttpMethodAttribute
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ using System.Collections.Generic;
|
||||||
namespace Microsoft.AspNetCore.Mvc.Routing
|
namespace Microsoft.AspNetCore.Mvc.Routing
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
|
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
|
||||||
public abstract class HttpMethodAttribute : Attribute, IActionHttpMethodProvider, IRouteTemplateProvider
|
public abstract class HttpMethodAttribute : Attribute, IActionHttpMethodProvider, IRouteTemplateProvider
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue