8 types derived from HttpMethodAttribute
Microsoft.AspNetCore.Mvc.Core (7)
HttpDeleteAttribute.cs (1)
12
public class HttpDeleteAttribute :
HttpMethodAttribute
HttpGetAttribute.cs (1)
12
public class HttpGetAttribute :
HttpMethodAttribute
HttpHeadAttribute.cs (1)
12
public class HttpHeadAttribute :
HttpMethodAttribute
HttpOptionsAttribute.cs (1)
12
public class HttpOptionsAttribute :
HttpMethodAttribute
HttpPatchAttribute.cs (1)
12
public class HttpPatchAttribute :
HttpMethodAttribute
HttpPostAttribute.cs (1)
12
public class HttpPostAttribute :
HttpMethodAttribute
HttpPutAttribute.cs (1)
12
public class HttpPutAttribute :
HttpMethodAttribute
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (1)
1785
private class PutOrPatchAttribute :
HttpMethodAttribute
4 references to HttpMethodAttribute
Microsoft.AspNetCore.Mvc.Core (2)
Routing\HttpMethodAttribute.cs (2)
20
/// Creates a new <see cref="
HttpMethodAttribute
"/> with the given
30
/// Creates a new <see cref="
HttpMethodAttribute
"/> with the given
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (2)
325
var
httpMethodAttribute = Assert.Single(descriptor.EndpointMetadata.OfType<
HttpMethodAttribute
>());