21 references to BindingMetadata
Microsoft.AspNetCore.Mvc.Core (11)
ModelBinding\Metadata\DefaultModelMetadata.cs (11)
167public override BindingSource? BindingSource => BindingMetadata.BindingSource; 170public override string? BinderModelName => BindingMetadata.BinderModelName; 173public override Type? BinderType => BindingMetadata.BinderType; 256return BindingMetadata.IsBindingAllowed; 274_isBindingRequired = BindingMetadata.IsBindingRequired; 299else if (BindingMetadata.IsReadOnly.HasValue) 301_isReadOnly = BindingMetadata.IsReadOnly; 337BindingMetadata.ModelBindingMessageProvider!; 380if (BindingMetadata.BoundConstructor == null) 388_constructorMetadata = modelMetadataProvider.GetMetadataForConstructor(BindingMetadata.BoundConstructor, ModelType); 399public override IPropertyFilterProvider? PropertyFilterProvider => BindingMetadata.PropertyFilterProvider;
Microsoft.AspNetCore.Mvc.Core.Test (10)
ModelBinding\Metadata\DefaultModelMetadataProviderTest.cs (4)
40Assert.Same(metadata1.BindingMetadata, metadata2.BindingMetadata); 131Assert.Same(properties1[i].BindingMetadata, properties2[i].BindingMetadata);
ModelBinding\Metadata\DefaultModelMetadataTest.cs (6)
1336modelMetadata.BindingMetadata.BoundConstructor = constructor; 1380modelMetadata.BindingMetadata.BoundConstructor = constructor; 1425modelMetadata.BindingMetadata.BoundConstructor = constructor; 1470modelMetadata.BindingMetadata.BoundConstructor = constructor; 1515modelMetadata.BindingMetadata.BoundConstructor = constructor; 1560modelMetadata.BindingMetadata.BoundConstructor = constructor;