1 write to Id
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\BindingSource.cs (1)
120Id = id;
26 references to Id
ApiExplorerWebSite (1)
ApiExplorerDataFilter.cs (1)
67Source = parameter.Source.Id,
Microsoft.AspNetCore.Mvc.Abstractions (4)
ModelBinding\BindingSource.cs (3)
208return string.Equals(other?.Id, Id, StringComparison.Ordinal); 220return Id.GetHashCode();
ModelBinding\CompositeBindingSource.cs (1)
56var id = string.Join('&', bindingSources.Select(s => s.Id).OrderBy(s => s, StringComparer.Ordinal));
Microsoft.AspNetCore.Mvc.Core.Test (5)
ModelBinding\CompositeValueProviderTest.cs (3)
22BindingSource.Query.Id, 248.Setup(o => o.Filter(It.Is<BindingSource>(s => s.Id == bindingSourceId))) 252.Setup(o => o.Filter(It.Is<BindingSource>(s => s.Id != bindingSourceId)))
ModelBinding\EnumerableValueProviderTest.cs (1)
258BindingSource.Query.Id,
ModelBinding\RouteValueProviderTests.cs (1)
238BindingSource.Query.Id,
Microsoft.AspNetCore.Mvc.FunctionalTests (15)
ApiExplorerTest.cs (15)
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);
Microsoft.AspNetCore.OpenApi (1)
Services\OpenApiDocumentService.cs (1)
408In = parameter.Source.Id switch