DefaultValidationHtmlAttributeProvider Konstruktoren

Definition

Überlädt

DefaultValidationHtmlAttributeProvider(IOptions<MvcViewOptions>, IModelMetadataProvider, ClientValidatorCache)

Initialisiert eine neue Instanz von DefaultValidationHtmlAttributeProvider.

DefaultValidationHtmlAttributeProvider(IOptions<MvcViewOptions>, IModelMetadataProvider, ClientValidatorCache)

Initialisiert eine neue Instanz von DefaultValidationHtmlAttributeProvider.

DefaultValidationHtmlAttributeProvider(IOptions<MvcViewOptions>, IModelMetadataProvider, ClientValidatorCache)

Quelle:
DefaultValidationHtmlAttributeProvider.cs
Quelle:
DefaultValidationHtmlAttributeProvider.cs

Initialisiert eine neue Instanz von 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)

Parameter

optionsAccessor
IOptions<MvcViewOptions>

Der Accessor für MvcViewOptions.

clientValidatorCache
Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache

Die Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache , die eine Liste von IClientModelValidators bereitstellt.

Gilt für:

DefaultValidationHtmlAttributeProvider(IOptions<MvcViewOptions>, IModelMetadataProvider, ClientValidatorCache)

Quelle:
DefaultValidationHtmlAttributeProvider.cs

Initialisiert eine neue Instanz von 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)

Parameter

optionsAccessor
IOptions<MvcViewOptions>

Der Accessor für MvcViewOptions.

clientValidatorCache
ClientValidatorCache

Die ClientValidatorCache , die eine Liste von IClientModelValidators bereitstellt.

Gilt für: