a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
10 lines
343 B
C#
10 lines
343 B
C#
namespace System.Web.Mvc {
|
|
public class ModelClientValidationEqualToRule: ModelClientValidationRule {
|
|
public ModelClientValidationEqualToRule(string errorMessage, object other){
|
|
ErrorMessage = errorMessage;
|
|
ValidationType = "equalto";
|
|
ValidationParameters["other"] = other;
|
|
}
|
|
}
|
|
}
|