ValidateParam static method
Implementation
static void ValidateParam(Object? param, String paramName) {
bool isValid;
if (param is String) {
isValid = !StringUtils.IsNullOrEmpty(param);
} else {
isValid = param != null;
}
if (!isValid) {
throw new ArgumentNullException(paramName);
}
ValidateParamAllowNull(param, paramName);
}