9 references to AddsCustomParameterMetadata
Microsoft.AspNetCore.Http.Extensions.Tests (9)
RequestDelegateFactoryTests.cs (7)
2593
var @delegate = (AddsCustomParameterMetadataBindable param1,
AddsCustomParameterMetadata
param2) => { };
2607
var @delegate = (
AddsCustomParameterMetadata
param1) => { };
2763
var @delegate = (
AddsCustomParameterMetadata
param1) => "Hello";
2784
var @delegate = (
AddsCustomParameterMetadata
param1) => "Hello";
2805
var @delegate = [Attribute1, Attribute2] (
AddsCustomParameterMetadata
param1) => new CountsDefaultEndpointMetadataPoco();
2824
m => Assert.True(m is AcceptsMetadata am && am.RequestType == typeof(
AddsCustomParameterMetadata
)),
2861
var @delegate = [Attribute1, Attribute2] (
AddsCustomParameterMetadata
param1) =>
RequestDelegateGenerator\RequestDelegateCreationTests.Metadata.cs (2)
532
m => Assert.True(m is IAcceptsMetadata am && am.RequestType == typeof(
AddsCustomParameterMetadata
)),
563
Assert.Contains(endpoint.Metadata, m => m is ParameterNameMetadata { Name: nameof(
AddsCustomParameterMetadata
.Data) });