4 implementations of RequestType
Microsoft.AspNetCore.Http.Abstractions (1)
Metadata\AcceptsMetadata.cs (1)
38public Type? RequestType { get; }
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
2904public Type RequestType => null;
Microsoft.AspNetCore.Mvc.Core (1)
ConsumesAttribute.cs (1)
101Type? IAcceptsMetadata.RequestType => _requestType;
Microsoft.AspNetCore.Routing.Tests (1)
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (1)
1125Type? IAcceptsMetadata.RequestType => _requestType;
3 references to RequestType
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\RequestDelegateCreationTests.Metadata.cs (1)
532m => Assert.True(m is IAcceptsMetadata am && am.RequestType == typeof(AddsCustomParameterMetadata)),
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointMetadataApiDescriptionProvider.cs (1)
141var acceptsRequestType = acceptsMetadata.RequestType;
Microsoft.AspNetCore.Routing.Tests (1)
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (1)
692Assert.Equal(typeof(Todo), endpointMetadata.RequestType);