6 instantiations of HttpHeadAttribute
Microsoft.AspNetCore.Mvc.Core.Test (6)
ApplicationModels\DefaultApplicationModelProviderTest.cs (3)
1603
[
HttpHead
("Change")]
1699
[
HttpHead
]
1705
[
HttpHead
]
Infrastructure\ActionSelectorTest.cs (1)
1237
[
HttpHead
]
Routing\HttpMethodProviderAttributesTests.cs (1)
28
data.Add(new
HttpHeadAttribute
(), new[] { "HEAD" });
Routing\RouteTemplateProviderAttributesTest.cs (1)
26
data.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)
810
Assert.Single(action.Attributes.OfType<
HttpHeadAttribute
>());
884
Assert.IsType<
HttpHeadAttribute
>(Assert.Single(action.Attributes));