30 references to Source
Microsoft.AspNetCore.Mvc.FunctionalTests (30)
ApiExplorerTest.cs (30)
187Assert.Equal("Path", parameter.Source);
210Assert.Equal("Path", parameter.Source);
233Assert.Equal("Path", parameter.Source);
257Assert.Equal("Path", parameter.Source);
283Assert.Equal("Path", month.Source);
288Assert.Equal("Path", day.Source);
293Assert.Equal("Path", year.Source);
319Assert.Equal("Path", month.Source);
324Assert.Equal("ModelBinding", day.Source);
329Assert.Equal("ModelBinding", year.Source);
353Assert.Equal("Path", path.Source);
356Assert.Equal("Path", pathAndQuery.Source);
358Assert.Single(description.ParameterDescriptions, p => p.Name == "pathAndFromBody" && p.Source == "Body");
359Assert.Single(description.ParameterDescriptions, p => p.Name == "pathAndFromBody" && p.Source == "Path");
378Assert.Equal("ModelBinding", id.Source);
979Assert.Equal(BindingSource.ModelBinding.Id, i.Source);
983Assert.Equal(BindingSource.ModelBinding.Id, s.Source);
1004Assert.Equal(BindingSource.Query.Id, i.Source);
1008Assert.Equal(BindingSource.Path.Id, s.Source);
1028Assert.Equal(BindingSource.ModelBinding.Id, id.Source);
1032Assert.Equal(BindingSource.ModelBinding.Id, name.Source);
1052Assert.Equal(BindingSource.Path.Id, id.Source);
1056Assert.Equal(BindingSource.Body.Id, product.Source);
1076Assert.Equal(BindingSource.Query.Id, customerId.Source);
1080Assert.Equal(BindingSource.Header.Id, referrer.Source);
1084Assert.Equal(BindingSource.Form.Id, quantity.Source);
1088Assert.Equal(BindingSource.Form.Id, productId.Source);
1092Assert.Equal(BindingSource.Form.Id, productName.Source);
1096Assert.Equal(BindingSource.Query.Id, shippingInstructions.Source);
1100Assert.Equal(BindingSource.Form.Id, feedback.Source);