Method | Description | |
---|---|---|
NHibernateValidatorClientProvider ( ) : System |
ctor: Hook up the mappings between your attributes and model client validation rules
|
Method | Description | |
---|---|---|
GetValidators ( ModelMetadata metadata, System.Web.Mvc.ControllerContext context, IEnumerable |
Returns the validators for the given class metadata. This gets called for each property.
|
|
MessageOrDefault ( System.Web.Mvc.ModelClientValidationRule rule, string propertyName ) : string |
protected GetValidators ( ModelMetadata metadata, System.Web.Mvc.ControllerContext context, IEnumerable |
||
metadata | ModelMetadata | |
context | System.Web.Mvc.ControllerContext | |
attributes | IEnumerable |
|
return | IEnumerable |
protected MessageOrDefault ( System.Web.Mvc.ModelClientValidationRule rule, string propertyName ) : string | ||
rule | System.Web.Mvc.ModelClientValidationRule | |
propertyName | string | |
return | string |
public NHibernateValidatorClientProvider ( ) : System | ||
return | System |