9 instantiations of BindAttribute
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\BindingInfoTest.cs (1)
34var bindAttribute = new BindAttribute(include: "SomeProperty");
Microsoft.AspNetCore.Mvc.Core.Test (4)
BindAttributeTest.cs (1)
23var 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")]
4 references to BindAttribute
Microsoft.AspNetCore.App.Analyzers.Test (1)
Verifiers\CSharpAnalyzerVerifier.cs (1)
70TrimAssemblyExtension(typeof(Microsoft.AspNetCore.Mvc.BindAttribute).Assembly.Location),
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\BindingInfoTest.cs (1)
34var bindAttribute = new BindAttribute(include: "SomeProperty");
Microsoft.AspNetCore.Mvc.Core (1)
BindAttribute.cs (1)
21/// Creates a new instance of <see cref="BindAttribute"/>.
Microsoft.AspNetCore.Mvc.Core.Test (1)
BindAttributeTest.cs (1)
23var bind = new BindAttribute(new string[] { "UserName", "FirstName", "LastName, MiddleName, ,foo,bar " });