ValidateNonBlankStringParam static method

void ValidateNonBlankStringParam(
  1. String? param,
  2. String paramName
)
Validates String parameter to be non-empty String (null value not allowed). The String parameter. Name of the parameter.

Implementation

static void ValidateNonBlankStringParam(String? param, String paramName) {
  if (param == null) {
    throw ArgumentNullException(paramName);
  }

  ValidateNonBlankStringParamAllowNull(param, paramName);
}