public static void Init()
 {
     SanityChecker.RegisterCheck <NotNegativeAttribute>(new NotNegativeCheck());
 }
示例#2
0
 public static void Init()
 {
     SanityChecker.RegisterCheck <LessThanAttribute>(new LessThanCheck());
 }