C# Class System.Web.Mvc.ClientValidation.Rules.ModelClientValidationMaxRule

A ModelClientValidationRule for the client-side for MaxAttribute
Inheritance: System.Web.Mvc.ModelClientValidationRule
Mostra file Open project: adaptabi/i18N-Complete

Public Methods

Method Description
ModelClientValidationMaxRule ( string errorMessage, object max ) : System.Web.Mvc

Creates a new ModelClientValidationMaxRule instance

Method Details

ModelClientValidationMaxRule() public method

Creates a new ModelClientValidationMaxRule instance
public ModelClientValidationMaxRule ( string errorMessage, object max ) : System.Web.Mvc
errorMessage string The error message
max object The max value
return System.Web.Mvc