mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
15 lines
530 B
C#
15 lines
530 B
C#
namespace System.Web.Mvc {
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
public class DataAnnotationsModelValidator<TAttribute> : DataAnnotationsModelValidator where TAttribute : ValidationAttribute {
|
|
public DataAnnotationsModelValidator(ModelMetadata metadata, ControllerContext context, TAttribute attribute)
|
|
: base(metadata, context, attribute) { }
|
|
|
|
protected new TAttribute Attribute {
|
|
get {
|
|
return (TAttribute)base.Attribute;
|
|
}
|
|
}
|
|
}
|
|
}
|