1 write to Id
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\BindingSource.cs (1)
120
Id
= id;
26 references to Id
ApiExplorerWebSite (1)
ApiExplorerDataFilter.cs (1)
67
Source = parameter.Source.
Id
,
Microsoft.AspNetCore.Mvc.Abstractions (4)
ModelBinding\BindingSource.cs (3)
208
return string.Equals(other?.
Id
,
Id
, StringComparison.Ordinal);
220
return
Id
.GetHashCode();
ModelBinding\CompositeBindingSource.cs (1)
56
var id = string.Join('&', bindingSources.Select(s => s.
Id
).OrderBy(s => s, StringComparer.Ordinal));
Microsoft.AspNetCore.Mvc.Core.Test (5)
ModelBinding\CompositeValueProviderTest.cs (3)
22
BindingSource.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)
258
BindingSource.Query.
Id
,
ModelBinding\RouteValueProviderTests.cs (1)
238
BindingSource.Query.
Id
,
Microsoft.AspNetCore.Mvc.FunctionalTests (15)
ApiExplorerTest.cs (15)
979
Assert.Equal(BindingSource.ModelBinding.
Id
, i.Source);
983
Assert.Equal(BindingSource.ModelBinding.
Id
, s.Source);
1004
Assert.Equal(BindingSource.Query.
Id
, i.Source);
1008
Assert.Equal(BindingSource.Path.
Id
, s.Source);
1028
Assert.Equal(BindingSource.ModelBinding.
Id
, id.Source);
1032
Assert.Equal(BindingSource.ModelBinding.
Id
, name.Source);
1052
Assert.Equal(BindingSource.Path.
Id
, id.Source);
1056
Assert.Equal(BindingSource.Body.
Id
, product.Source);
1076
Assert.Equal(BindingSource.Query.
Id
, customerId.Source);
1080
Assert.Equal(BindingSource.Header.
Id
, referrer.Source);
1084
Assert.Equal(BindingSource.Form.
Id
, quantity.Source);
1088
Assert.Equal(BindingSource.Form.
Id
, productId.Source);
1092
Assert.Equal(BindingSource.Form.
Id
, productName.Source);
1096
Assert.Equal(BindingSource.Query.
Id
, shippingInstructions.Source);
1100
Assert.Equal(BindingSource.Form.
Id
, feedback.Source);
Microsoft.AspNetCore.OpenApi (1)
Services\OpenApiDocumentService.cs (1)
408
In = parameter.Source.
Id
switch