Delen via


EmptyModelMetadataProvider Class

Definition

A Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultBindingMetadataProvider that represents an empty model.

public ref class EmptyModelMetadataProvider : Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::DefaultModelMetadataProvider
public class EmptyModelMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider
type EmptyModelMetadataProvider = class
    inherit DefaultModelMetadataProvider
Public Class EmptyModelMetadataProvider
Inherits DefaultModelMetadataProvider
Inheritance
EmptyModelMetadataProvider
Inheritance

Constructors

EmptyModelMetadataProvider()

Initializes a new EmptyModelMetadataProvider.

Properties

DetailsProvider

Gets the ICompositeMetadataDetailsProvider.

(Inherited from DefaultModelMetadataProvider)
ModelBindingMessageProvider

Gets the DefaultModelBindingMessageProvider.

(Inherited from DefaultModelMetadataProvider)

Methods

CreateModelMetadata(DefaultMetadataDetails)

Creates a new ModelMetadata from a DefaultMetadataDetails.

(Inherited from DefaultModelMetadataProvider)
CreateParameterDetails(ModelMetadataIdentity)

Creates the DefaultMetadataDetails entry for a parameter Type.

(Inherited from DefaultModelMetadataProvider)
CreatePropertyDetails(ModelMetadataIdentity)

Creates the DefaultMetadataDetails entries for the properties of a model Type.

(Inherited from DefaultModelMetadataProvider)
CreateTypeDetails(ModelMetadataIdentity)

Creates the DefaultMetadataDetails entry for a model Type.

(Inherited from DefaultModelMetadataProvider)
GetMetadataForConstructor(ConstructorInfo, Type)

Supplies metadata describing a constructor.

(Inherited from DefaultModelMetadataProvider)
GetMetadataForParameter(ParameterInfo, Type)

Supplies metadata describing a parameter.

(Inherited from DefaultModelMetadataProvider)
GetMetadataForParameter(ParameterInfo)

Supplies metadata describing a parameter.

(Inherited from DefaultModelMetadataProvider)
GetMetadataForProperties(Type)

Supplies metadata describing the properties of a Type.

(Inherited from DefaultModelMetadataProvider)
GetMetadataForProperty(PropertyInfo, Type)

Supplies metadata describing a property.

(Inherited from DefaultModelMetadataProvider)
GetMetadataForType(Type)

Supplies metadata describing a Type.

(Inherited from DefaultModelMetadataProvider)

Extension Methods

GetMetadataForProperty(IModelMetadataProvider, Type, String)

Gets a ModelMetadata for property identified by the provided containerType and propertyName.

GetModelExplorerForType(IModelMetadataProvider, Type, Object)

Gets a ModelExplorer for the provided modelType and model.

Applies to