public static void LongerThan(int value, int maxValue, string parameterName) { if (value > maxValue) { throw new DomainException(DomainPreconditionMessages.GetLongerThan(maxValue, parameterName)); } }
public static void LongerThan(int value, int maxValue, string parameterName) { if (value > maxValue) { throw new DomainException(DomainPreconditionMessages.GetLongerThan(maxValue, parameterName)); } }