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 }); } }
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 }); } }