Partilhar via


DefaultModelMetadataProvider Construtores

Definição

Sobrecargas

DefaultModelMetadataProvider(ICompositeMetadataDetailsProvider)

Cria um novo DefaultModelMetadataProvider.

DefaultModelMetadataProvider(ICompositeMetadataDetailsProvider, IOptions<MvcOptions>)

Cria um novo DefaultModelMetadataProvider.

DefaultModelMetadataProvider(ICompositeMetadataDetailsProvider)

Origem:
DefaultModelMetadataProvider.cs
Origem:
DefaultModelMetadataProvider.cs
Origem:
DefaultModelMetadataProvider.cs
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

Aplica-se a

DefaultModelMetadataProvider(ICompositeMetadataDetailsProvider, IOptions<MvcOptions>)

Origem:
DefaultModelMetadataProvider.cs
Origem:
DefaultModelMetadataProvider.cs
Origem:
DefaultModelMetadataProvider.cs
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

optionsAccessor
IOptions<MvcOptions>

O acessador para MvcOptions.

Aplica-se a