1 write to Name
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\EndpointMetadataProviderTest.cs (1)
396
builder.Metadata.Add(new ParameterNameMetadata {
Name
= parameter.Name });
4 references to Name
Microsoft.AspNetCore.Mvc.Core.Test (4)
ApplicationModels\EndpointMetadataProviderTest.cs (4)
60
Assert.Contains(endpoint.Metadata, m => m is ParameterNameMetadata {
Name
: "param1" });
71
endpoint => Assert.Contains(endpoint.Metadata, m => m is ParameterNameMetadata {
Name
: "param1" }),
72
endpoint => Assert.Contains(endpoint.Metadata, m => m is ParameterNameMetadata {
Name
: "param1" }));
122
m => Assert.True(m is ParameterNameMetadata {
Name
: "param1" }),