IModelMetadataProvider Interface¶
- Namespace
Microsoft.AspNetCore.Mvc.ModelBinding
- Assemblies
- Microsoft.AspNetCore.Mvc.Abstractions
Syntax¶
public interface IModelMetadataProvider
-
interface
Microsoft.AspNetCore.Mvc.ModelBinding.
IModelMetadataProvider
Methods¶
-
GetMetadataForProperties
(System.Type)¶ Return type: System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata> IEnumerable<ModelMetadata> GetMetadataForProperties(Type modelType)
-
GetMetadataForType
(System.Type)¶ Return type: Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata ModelMetadata GetMetadataForType(Type modelType)
-