Method ArgumentHasMinLength
ArgumentHasMinLength(Expression<Func<string>>, int)
Checks if the given string has a length which is at least given min length long.
Declaration
public static void ArgumentHasMinLength(Expression<Func<string>> expression, int minLength)
Parameters
Type | Name | Description |
---|---|---|
Expression<Func<string>> | expression | |
int | minLength |
ArgumentHasMinLength(string, string, int)
Checks if the given string has a length which is at least given min length long.
Declaration
public static void ArgumentHasMinLength(string propertyValue, string paramName, int minLength)
Parameters
Type | Name | Description |
---|---|---|
string | propertyValue | |
string | paramName | |
int | minLength |