6 instantiations of ParameterNameMetadata
Microsoft.AspNetCore.Http.Extensions.Tests (6)
RequestDelegateFactoryTests.cs (3)
3426builder.Metadata.Add(new ParameterNameMetadata { Name = parameter.Name }); 3451builder.Metadata.Add(new ParameterNameMetadata { Name = parameter.Name }); 3474builder.Metadata.Add(new ParameterNameMetadata { Name = parameter.Name });
RequestDelegateGenerator\SharedTypes.cs (3)
561builder.Metadata.Add(new ParameterNameMetadata { Name = parameter.Name }); 596builder.Metadata.Add(new ParameterNameMetadata { Name = parameter.Name }); 609builder.Metadata.Add(new ParameterNameMetadata { Name = parameter.Name });
12 references to ParameterNameMetadata
Microsoft.AspNetCore.Http.Extensions.Tests (12)
RequestDelegateFactoryTests.cs (5)
2571m => Assert.True(m is ParameterNameMetadata { Name: "param1" }), 2599Assert.Contains(result.EndpointMetadata, m => m is ParameterNameMetadata { Name: "param1" }); 2600Assert.Contains(result.EndpointMetadata, m => m is ParameterNameMetadata { Name: "param2" }); 2777Assert.Contains(result.EndpointMetadata, m => m is ParameterNameMetadata { Name: "param1" }); 2830m => Assert.True(m is ParameterNameMetadata { Name: "param1" }),
RequestDelegateGenerator\RequestDelegateCreationTests.AsParameters.cs (1)
365Assert.Contains(endpoint.Metadata, m => m is ParameterNameMetadata { Name: "Value" });
RequestDelegateGenerator\RequestDelegateCreationTests.Metadata.cs (6)
211Assert.Contains(endpoint.Metadata, m => m is ParameterNameMetadata { Name: "param1" }); 212Assert.Contains(endpoint.Metadata, m => m is ParameterNameMetadata { Name: "param2" }); 454Assert.Contains(endpoint.Metadata, m => m is ParameterNameMetadata { Name: "param1" }); 538m => Assert.True(m is ParameterNameMetadata { Name: "param1" }), 561Assert.Contains(endpoint.Metadata, m => m is ParameterNameMetadata { Name: "param1" }); 563Assert.Contains(endpoint.Metadata, m => m is ParameterNameMetadata { Name: nameof(AddsCustomParameterMetadata.Data) });