4 overrides of IsBindingAllowed
Microsoft.AspNetCore.Grpc.Swagger (1)
Internal\GrpcModelMetadata.cs (1)
34public override bool IsBindingAllowed { get; }
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\ModelMetadataTest.cs (1)
596public override bool IsBindingAllowed
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointModelMetadata.cs (1)
34public override bool IsBindingAllowed { get; }
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
246public override bool IsBindingAllowed
17 references to IsBindingAllowed
Microsoft.AspNetCore.Mvc.Core (8)
Controllers\ControllerBinderDelegateProvider.cs (2)
68if (!modelMetadata.IsBindingAllowed) 94if (!modelMetadata.IsBindingAllowed)
ModelBinding\Binders\ComplexObjectModelBinder.cs (1)
419if (!propertyMetadata.IsBindingAllowed)
ModelBinding\Binders\ComplexTypeModelBinder.cs (1)
243if (!propertyMetadata.IsBindingAllowed)
ModelBinding\Metadata\BindingMetadata.cs (1)
61/// See <see cref="ModelMetadata.IsBindingAllowed"/>.
ModelBinding\Metadata\ExcludeBindingMetadataProvider.cs (2)
9/// An <see cref="IBindingMetadataProvider"/> which configures <see cref="ModelMetadata.IsBindingAllowed"/> to 21/// <see cref="ModelMetadata.IsBindingAllowed"/> set to <c>false</c>.
ModelBinding\ModelBinderFactory.cs (1)
108if (!providerContext.Metadata.IsBindingAllowed)
Microsoft.AspNetCore.Mvc.Core.Test (2)
Controllers\ControllerBinderDelegateProviderTest.cs (2)
296modelMetadata.Setup(m => m.IsBindingAllowed).Returns(true); 345modelMetadata.Setup(m => m.IsBindingAllowed).Returns(true);
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (5)
ModelMetadataProviderTest.cs (5)
809Assert.True(metadata.IsBindingAllowed); 825Assert.True(metadata.IsBindingAllowed); 841Assert.True(metadata.IsBindingAllowed); 857Assert.False(metadata.IsBindingAllowed); 873Assert.False(metadata.IsBindingAllowed);
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageBinderFactory.cs (2)
60if (!modelMetadata.IsBindingAllowed) 141if (!modelMetadata.IsBindingAllowed)