mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
10 lines
348 B
C#
10 lines
348 B
C#
namespace System.Web.Mvc {
|
|
public class ModelClientValidationRegexRule : ModelClientValidationRule {
|
|
public ModelClientValidationRegexRule(string errorMessage, string pattern) {
|
|
ErrorMessage = errorMessage;
|
|
ValidationType = "regex";
|
|
ValidationParameters.Add("pattern", pattern);
|
|
}
|
|
}
|
|
}
|