Created
March 7, 2012 03:10
-
-
Save srkirkland/1990653 to your computer and use it in GitHub Desktop.
VB.NET version of Data Annotations Extensions Validation Registration Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Imports DataAnnotationsExtensions.ClientValidation | |
| <Assembly: WebActivator.PreApplicationStartMethod(GetType(App_Start.RegisterClientValidationExtensions), "Start")> | |
| Namespace App_Start | |
| Public NotInheritable Class RegisterClientValidationExtensions | |
| Private Sub New() | |
| End Sub | |
| Public Shared Sub Start() | |
| DataAnnotationsModelValidatorProviderExtensions.RegisterValidationExtensions() | |
| End Sub | |
| End Class | |
| End Namespace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment