DefaultModelMetadataProvider Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
DefaultModelMetadataProvider(ICompositeMetadataDetailsProvider)
Cria um novo DefaultModelMetadataProvider.
public:
DefaultModelMetadataProvider(Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ICompositeMetadataDetailsProvider ^ detailsProvider);
public DefaultModelMetadataProvider (Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider detailsProvider);
new Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider
Public Sub New (detailsProvider As ICompositeMetadataDetailsProvider)
Parâmetros
- detailsProvider
- ICompositeMetadataDetailsProvider
Aplica-se a
DefaultModelMetadataProvider(ICompositeMetadataDetailsProvider, IOptions<MvcOptions>)
Cria um novo DefaultModelMetadataProvider.
public:
DefaultModelMetadataProvider(Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ICompositeMetadataDetailsProvider ^ detailsProvider, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcOptions ^> ^ optionsAccessor);
public DefaultModelMetadataProvider (Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider detailsProvider, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> optionsAccessor);
new Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcOptions> -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider
Public Sub New (detailsProvider As ICompositeMetadataDetailsProvider, optionsAccessor As IOptions(Of MvcOptions))
Parâmetros
- detailsProvider
- ICompositeMetadataDetailsProvider
- optionsAccessor
- IOptions<MvcOptions>
O acessador para MvcOptions.