Share via


ValidationHtmlAttributeProvider Class

Definition

Contract for a service providing validation attributes for expressions.

public ref class ValidationHtmlAttributeProvider abstract
public abstract class ValidationHtmlAttributeProvider
type ValidationHtmlAttributeProvider = class
Public MustInherit Class ValidationHtmlAttributeProvider
Inheritance
ValidationHtmlAttributeProvider
Derived

Constructors

ValidationHtmlAttributeProvider()

Methods

AddAndTrackValidationAttributes(ViewContext, ModelExplorer, String, IDictionary<String,String>)

Adds validation-related HTML attributes to the attributes if client validation is enabled and validation attributes have not yet been added for this expression in the current <form>.

AddValidationAttributes(ViewContext, ModelExplorer, IDictionary<String,String>)

Adds validation-related HTML attributes to the attributes if client validation is enabled.

Applies to