IClientValidationService Schnittstelle

Definition

Stellt clientseitige Validierungs-HTML-Attribute (data-val-*) für Formularfelder basierend auf ihren ValidationAttributes bereit.

public interface IClientValidationService
type IClientValidationService = interface
Public Interface IClientValidationService

Methoden

Name Beschreibung
GetClientValidationAttributes(FieldIdentifier)

Ruft die data-val-* HTML-Attribute für ein Formularfeld ab. Gibt zurück null , wenn keine Überprüfungsattribute angewendet werden.

Gilt für: