public static void ValidateBounds(string parameterName, int value, int minimumValue, int maximumValue) { RepositoryHelper.CheckMinimum(parameterName, value, minimumValue); RepositoryHelper.CheckMaximum(parameterName, value, maximumValue); }
public static string ListKeys(IEnumerable <IKey> keys) { return(RepositoryHelper.ListKeys(keys, ", ", "{", "}")); }
public static void ValidateMinimum(string parameterName, double value, double minimumValue) { RepositoryHelper.CheckMinimum(parameterName, value, minimumValue); }
public static void ValidateMaximum(string parameterName, DateTime value, DateTime maximumValue) { RepositoryHelper.CheckMaximum(parameterName, value, maximumValue); }