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