7 references to Required
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\BindRequiredAttribute.cs (1)
20: base(BindingBehavior.Required)
ModelBinding\Metadata\DefaultBindingMetadataProvider.cs (1)
71context.BindingMetadata.IsBindingRequired = bindingBehavior.Behavior == BindingBehavior.Required;
Microsoft.AspNetCore.Mvc.Core.Test (5)
ModelBinding\Metadata\DefaultBindingMetadataProviderTest.cs (5)
227new BindingBehaviorAttribute(BindingBehavior.Required), 342new BindingBehaviorAttribute(BindingBehavior.Required), 416new BindingBehaviorAttribute(BindingBehavior.Required), 607new BindingBehaviorAttribute(BindingBehavior.Required), 638new BindingBehaviorAttribute(BindingBehavior.Required),