public static void Init()
 {
     SanityChecker.RegisterCheck <GreaterThanAttribute>(new GreaterThanCheck());
 }
 public static void Init()
 {
     SanityChecker.RegisterCheck <LessThanOrEqualsAttribute>(new LessThanOrEqualsCheck());
 }
示例#3
0
 public static void Init()
 {
     SanityChecker.RegisterCheck <NotNullOrEmptyAttribute>(new NotNullOrEmptyCheck());
 }
 public static void Init()
 {
     SanityChecker.RegisterCheck <NotNegativeAttribute>(new NotNegativeCheck());
 }