1 namespace System.Web.Mvc {
2 public class ModelClientValidationEqualToRule: ModelClientValidationRule {
3 public ModelClientValidationEqualToRule(string errorMessage, object other){
4 ErrorMessage = errorMessage;
5 ValidationType = "equalto";
6 ValidationParameters["other"] = other;