Method EnsureNotNullOrEmpty
EnsureNotNullOrEmpty(string)
Ensures that the parameter defined by name parameterName
is present and not empty in this collection.
public void EnsureNotNullOrEmpty(string parameterName)
Parameters
parameterName
stringThe parameter name which will be evaluated.
Remarks
If the parameter doens't meet the above requirements, an ArgumentNullException exception is thrown.