a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
9 lines
283 B
C#
9 lines
283 B
C#
namespace System.Web.Mvc {
|
|
public class ModelClientValidationRequiredRule : ModelClientValidationRule {
|
|
public ModelClientValidationRequiredRule(string errorMessage) {
|
|
ErrorMessage = errorMessage;
|
|
ValidationType = "required";
|
|
}
|
|
}
|
|
}
|