9 references to Bind
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\BindingInfoTest.cs (1)
34
var bindAttribute = new
BindAttribute
(include: "SomeProperty");
Microsoft.AspNetCore.Mvc.Core.Test (4)
BindAttributeTest.cs (1)
23
var bind = new
BindAttribute
(new string[] { "UserName", "FirstName", "LastName, MiddleName, ,foo,bar " });
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (1)
1327
[
Bind
(new[] { nameof(IncludedExplicitly1), nameof(IncludedExplicitly2) })]
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (1)
1502
[
Bind
(new[] { nameof(IncludedExplicitly1), nameof(IncludedExplicitly2) })]
ModelBinding\Metadata\ModelAttributesTest.cs (1)
398
[
Bind
]
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (1)
ModelMetadataProviderTest.cs (1)
1007
[
Bind
(new[] { nameof(IsAdmin), nameof(UserName) }, Prefix = "TypePrefix")]
Microsoft.AspNetCore.Mvc.IntegrationTests (3)
ComplexRecordIntegrationTest.cs (2)
2732
[
Bind
("Street")]
3661
[
Bind
(include: new[] { "Name" })]
ComplexTypeIntegrationTestBase.cs (1)
2914
[
Bind
("Street")]