IClientValidationAdapter Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implemented by ValidationAttribute subclasses
that support client-side validation by emitting data-val-* HTML attributes.
public interface IClientValidationAdapter
type IClientValidationAdapter = interface
Public Interface IClientValidationAdapter
Methods
| Name | Description |
|---|---|
| GetClientValidationRules(String) |
Produces the client-side validation rules for this attribute. Return an empty sequence if the attribute should not emit any client-side rule. |