public static RuleMethod AddMinValueRule <T>(RuleList pRuleList, string pPropertyName, T pMinValue) { return(pRuleList.Add(MinValue <T>, MinMaxArgs <T> .CreateMinOnlyArgs(pPropertyName, pMinValue))); }
public static RuleMethod AddIntegerMinValueRule(RuleList pRuleList, string pPropertyName, long pMinValue) { return(pRuleList.Add(IntegerMinValue, MinMaxArgs <long> .CreateMinOnlyArgs(pPropertyName, pMinValue))); }