6 instantiations of HttpHeadAttribute
Microsoft.AspNetCore.Mvc.Core.Test (6)
ApplicationModels\DefaultApplicationModelProviderTest.cs (3)
1644[HttpHead("Change")] 1740[HttpHead] 1746[HttpHead]
Infrastructure\ActionSelectorTest.cs (1)
1237[HttpHead]
Routing\HttpMethodProviderAttributesTests.cs (1)
28data.Add(new HttpHeadAttribute(), new[] { "HEAD" });
Routing\RouteTemplateProviderAttributesTest.cs (1)
26data.Add(new HttpHeadAttribute());
4 references to HttpHeadAttribute
Microsoft.AspNetCore.Mvc.Core (2)
HttpHeadAttribute.cs (2)
17/// Creates a new <see cref="HttpHeadAttribute"/>. 25/// Creates a new <see cref="HttpHeadAttribute"/> with the given route template.
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\DefaultApplicationModelProviderTest.cs (2)
811Assert.Single(action.Attributes.OfType<HttpHeadAttribute>()); 885Assert.IsType<HttpHeadAttribute>(Assert.Single(action.Attributes));