Method IsNotNullOrEmpty
IsNotNullOrEmpty(string, string)
Ensures that the value of a parameter is not null or empty.
public static string IsNotNullOrEmpty(string value, string paramName)
Parameters
Returns
- string
The value of the parameter.
IsNotNullOrEmpty<T>(IEnumerable<T>, string)
Ensures that the value of a parameter is not null or empty.
public static IEnumerable<T> IsNotNullOrEmpty<T>(IEnumerable<T> value, string paramName)
Parameters
value
IEnumerable<T>The value of the parameter.
paramName
stringThe name of the parameter.
Returns
- IEnumerable<T>
The value of the parameter.
Type Parameters
T
The type of the elements.