Microsoft.AspNetCore.Mvc.ModelBinding.Metadata Namespace

Provides types used to discover and apply metadata used for model binding.

Classes

BindingMetadata

Binding metadata details for a ModelMetadata.

BindingMetadataProviderContext

A context for an IBindingMetadataProvider.

BindingSourceMetadataProvider

Provides BindingMetadata for a DefaultModelMetadata.

DataMemberRequiredBindingMetadataProvider

An IBindingMetadataProvider for IsRequired.

DefaultMetadataDetails

Holds associated metadata objects for a DefaultModelMetadata.

DefaultModelBindingMessageProvider

Read / write ModelBindingMessageProvider implementation.

DefaultModelMetadata

A default ModelMetadata implementation.

DefaultModelMetadataProvider

A default implementation of IModelMetadataProvider based on reflection.

DisplayMetadata

Display metadata details for a ModelMetadata.

DisplayMetadataProviderContext

A context for and IDisplayMetadataProvider.

ExcludeBindingMetadataProvider

An IBindingMetadataProvider which configures IsBindingAllowed to false for matching types.

MetadataDetailsProviderExtensions

Extension methods for IMetadataDetailsProvider.

ModelBindingMessageProvider

Provider for error messages the model binding system detects.

SystemTextJsonValidationMetadataProvider

An implementation of IDisplayMetadataProvider and IValidationMetadataProvider for the System.Text.Json.Serialization attribute classes.

ValidationMetadata

Validation metadata details for a ModelMetadata.

ValidationMetadataProviderContext

A context for an IValidationMetadataProvider.

Structs

ModelMetadataIdentity

A key type which identifies a ModelMetadata.

Interfaces

IBindingMetadataProvider

Provides BindingMetadata for a DefaultModelMetadata.

ICompositeMetadataDetailsProvider

A composite IMetadataDetailsProvider.

IDisplayMetadataProvider

Provides DisplayMetadata for a DefaultModelMetadata.

IMetadataDetailsProvider

Marker interface for a provider of metadata details about model objects. Implementations should implement one or more of IBindingMetadataProvider, IDisplayMetadataProvider, and IValidationMetadataProvider.

IModelBindingMessageProvider

Provider for error messages the model binding system detects.

IValidationMetadataProvider

Provides ValidationMetadata for a DefaultModelMetadata.

Enums

ModelMetadataKind

Enumeration for the kinds of ModelMetadata

Remarks

For more information on model binding, Model binding.