Condividi tramite


DefaultValidationHtmlAttributeProvider Costruttori

Definizione

Overload

DefaultValidationHtmlAttributeProvider(IOptions<MvcViewOptions>, IModelMetadataProvider, ClientValidatorCache)

Inizializza una nuova istanza di DefaultValidationHtmlAttributeProvider.

DefaultValidationHtmlAttributeProvider(IOptions<MvcViewOptions>, IModelMetadataProvider, ClientValidatorCache)

Inizializza una nuova istanza di DefaultValidationHtmlAttributeProvider.

DefaultValidationHtmlAttributeProvider(IOptions<MvcViewOptions>, IModelMetadataProvider, ClientValidatorCache)

Origine:
DefaultValidationHtmlAttributeProvider.cs
Origine:
DefaultValidationHtmlAttributeProvider.cs

Inizializza una nuova istanza di DefaultValidationHtmlAttributeProvider.

public:
 DefaultValidationHtmlAttributeProvider(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcViewOptions ^> ^ optionsAccessor, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ metadataProvider, Microsoft::AspNetCore::Mvc::Internal::ClientValidatorCache ^ clientValidatorCache);
public DefaultValidationHtmlAttributeProvider (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> optionsAccessor, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache clientValidatorCache);
new Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultValidationHtmlAttributeProvider : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache -> Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultValidationHtmlAttributeProvider
Public Sub New (optionsAccessor As IOptions(Of MvcViewOptions), metadataProvider As IModelMetadataProvider, clientValidatorCache As ClientValidatorCache)

Parametri

optionsAccessor
IOptions<MvcViewOptions>

Funzione di accesso per MvcViewOptions.

clientValidatorCache
Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache

Oggetto Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache che fornisce un elenco di IClientModelValidators.

Si applica a

DefaultValidationHtmlAttributeProvider(IOptions<MvcViewOptions>, IModelMetadataProvider, ClientValidatorCache)

Origine:
DefaultValidationHtmlAttributeProvider.cs

Inizializza una nuova istanza di DefaultValidationHtmlAttributeProvider.

public:
 DefaultValidationHtmlAttributeProvider(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcViewOptions ^> ^ optionsAccessor, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ metadataProvider, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ClientValidatorCache ^ clientValidatorCache);
public DefaultValidationHtmlAttributeProvider (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> optionsAccessor, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorCache clientValidatorCache);
new Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultValidationHtmlAttributeProvider : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorCache -> Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultValidationHtmlAttributeProvider
Public Sub New (optionsAccessor As IOptions(Of MvcViewOptions), metadataProvider As IModelMetadataProvider, clientValidatorCache As ClientValidatorCache)

Parametri

optionsAccessor
IOptions<MvcViewOptions>

Funzione di accesso per MvcViewOptions.

clientValidatorCache
ClientValidatorCache

Oggetto ClientValidatorCache che fornisce un elenco di IClientModelValidators.

Si applica a