Compartilhar via


DefaultModelMetadataProvider.CreateParameterDetails Método

Definição

Cria a DefaultMetadataDetails entrada para um parâmetro 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

Parâmetros

key
ModelMetadataIdentity

A ModelMetadataIdentity identificação do parâmetro Type.

Retornos

Um objeto de detalhes para o parâmetro .

Aplica-se a