50 instantiations of FromHeader
ApiExplorerWebSite (1)
ApplicationModelWebSite (1)
Aspire.Dashboard (1)
Aspire.Dashboard.Tests (1)
BasicWebSite (1)
GenericHostWebSite (1)
HtmlGenerationWebSite (1)
Microsoft.AspNetCore.Http.Extensions.Tests (4)
Microsoft.AspNetCore.Http.Microbenchmarks (4)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (6)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Microsoft.AspNetCore.Mvc.IntegrationTests (15)
Microsoft.AspNetCore.OpenApi.Tests (13)
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Parameters.cs (10)
21builder.MapGet("/api", ([FromHeader(Name = "X-Header")] string header) => { });
100builder.MapGet("/api/todos", ([FromHeader(Name = "X-Header")] string header) => { });
101builder.MapGet("/api/users", ([FromHeader(Name = "X-Header")] Guid? header) => { });
102builder.MapGet("/api/projects", ([FromHeader(Name = "X-Header")] string header = "0000-0000-0000-0000") => { });
176builder.MapGet("/api/accept", ([FromHeader(Name = "Accept")] string value) => { });
177builder.MapGet("/api/accept-lower", ([FromHeader(Name = "accept")] string value) => { });
178builder.MapGet("/api/authorization", ([FromHeader(Name = "Authorization")] string value) => { });
179builder.MapGet("/api/authorization-lower", ([FromHeader(Name = "authorization")] string value) => { });
180builder.MapGet("/api/content-type", ([FromHeader(Name = "Content-Type")] string value) => { });
181builder.MapGet("/api/content-type-lower", ([FromHeader(Name = "content-type")] string value) => { });
3 references to FromHeader
ApplicationModelWebSite (1)
Microsoft.AspNetCore.Mvc.Core.Test (2)