Method ArgumentNotNullOrEmpty
ArgumentNotNullOrEmpty(Expression<Func<IEnumerable>>)
Checks if the given string is not null or empty.
Declaration
public static void ArgumentNotNullOrEmpty(Expression<Func<IEnumerable>> expression)
Parameters
Type | Name | Description |
---|---|---|
Expression<Func<IEnumerable>> | expression |
ArgumentNotNullOrEmpty(IEnumerable, string)
Checks if the given string is not null or empty.
Declaration
public static void ArgumentNotNullOrEmpty(IEnumerable enumerable, string paramName)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable | enumerable | |
string | paramName |
ArgumentNotNullOrEmpty(Expression<Func<string>>)
Checks if the given string is not null or empty.
Declaration
public static void ArgumentNotNullOrEmpty(Expression<Func<string>> expression)
Parameters
Type | Name | Description |
---|---|---|
Expression<Func<string>> | expression |
ArgumentNotNullOrEmpty(string, string)
Checks if the given string is not null or empty.
Declaration
public static void ArgumentNotNullOrEmpty(string propertyValue, string paramName)
Parameters
Type | Name | Description |
---|---|---|
string | propertyValue | |
string | paramName |