Dela via


DefaultModelMetadataProvider.CreateParameterDetails Method

Definition

Creates the DefaultMetadataDetails entry for a parameter Type.

protected:
 virtual Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::DefaultMetadataDetails ^ CreateParameterDetails(Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ModelMetadataIdentity key);
protected virtual Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails CreateParameterDetails (Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity key);
abstract member CreateParameterDetails : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails
override this.CreateParameterDetails : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails
Protected Overridable Function CreateParameterDetails (key As ModelMetadataIdentity) As DefaultMetadataDetails

Parameters

key
ModelMetadataIdentity

The ModelMetadataIdentity identifying the parameter Type.

Returns

A details object for the parameter.

Applies to