37 references to Name
Microsoft.AspNetCore.Mvc.FunctionalTests (37)
ApiExplorerTest.cs (37)
185Assert.Equal("id", parameter.Name);
208Assert.Equal("integer", parameter.Name);
231Assert.Equal("parameter", parameter.Name);
255Assert.Equal("integer", parameter.Name);
281var month = Assert.Single(description.ParameterDescriptions, p => p.Name == "month");
286var day = Assert.Single(description.ParameterDescriptions, p => p.Name == "day");
291var year = Assert.Single(description.ParameterDescriptions, p => p.Name == "year");
317var month = Assert.Single(description.ParameterDescriptions, p => p.Name == "month");
322var day = Assert.Single(description.ParameterDescriptions, p => p.Name == "day");
327var year = Assert.Single(description.ParameterDescriptions, p => p.Name == "year");
352var path = Assert.Single(description.ParameterDescriptions, p => p.Name == "path");
355var pathAndQuery = Assert.Single(description.ParameterDescriptions, p => p.Name == "pathAndQuery");
358Assert.Single(description.ParameterDescriptions, p => p.Name == "pathAndFromBody" && p.Source == "Body");
359Assert.Single(description.ParameterDescriptions, p => p.Name == "pathAndFromBody" && p.Source == "Path");
376var id = Assert.Single(description.ParameterDescriptions, p => p.Name == "id");
978var i = Assert.Single(parameters, p => p.Name == "i");
982var s = Assert.Single(parameters, p => p.Name == "s");
1003var i = Assert.Single(parameters, p => p.Name == "i");
1007var s = Assert.Single(parameters, p => p.Name == "s");
1027var id = Assert.Single(parameters, p => p.Name == "Id");
1031var name = Assert.Single(parameters, p => p.Name == "Name");
1051var id = Assert.Single(parameters, p => p.Name == "id");
1055var product = Assert.Single(parameters, p => p.Name == "product");
1075var customerId = Assert.Single(parameters, p => p.Name == "CustomerId");
1079var referrer = Assert.Single(parameters, p => p.Name == "Referrer");
1083var quantity = Assert.Single(parameters, p => p.Name == "Details.Quantity");
1087var productId = Assert.Single(parameters, p => p.Name == "Details.Product.Id");
1091var productName = Assert.Single(parameters, p => p.Name == "Details.Product.Name");
1095var shippingInstructions = Assert.Single(parameters, p => p.Name == "Comments.ShippingInstructions");
1099var feedback = Assert.Single(parameters, p => p.Name == "Comments.Feedback");
1121Assert.Equal("searchTerm", parameter.Name);
1126Assert.Equal("top", parameter.Name);
1131Assert.Equal("searchDay", parameter.Name);
1153Assert.Equal("requiredParam", parameter.Name);
1158Assert.Equal("notRequiredParam", parameter.Name);
1163Assert.Equal("Id", parameter.Name);
1168Assert.Equal("Name", parameter.Name);