public override void Return <TReturnException>(object key, string messageFormat, object context = null)
 {
     if (Validatable.IsLowerThan(Value) == false)
     {
         ReturnResult <TReturnException>(key, messageFormat, context, new object[] { key, Value });
     }
 }
예제 #2
0
 public override void Return <TReturnException>(object key, string messageFormat, object context = null)
 {
     if ((RangeStart.IsLowerThan(Validatable) && Validatable.IsLowerThan(RangeEnd)) == false)
     {
         ReturnResult <TReturnException>(key, messageFormat, context, new object[] { key, RangeStart, RangeEnd });
     }
 }