/// <summary>
 /// Validates that the parameter is not empty or white space. Otherwise, an <see cref="ArgumentException" /> is thrown.
 /// </summary>
 /// <param name="validator">The <see cref="ParameterValidator{TParameter}" />.</param>
 /// <returns>The same instance of <see cref="ParameterValidator{TParameter}" />.</returns>
 /// <exception cref="ArgumentException">Thrown when the parameter is empty or white space.</exception>
 public static ParameterValidator <string> IsNotWhiteSpace(this ParameterValidator <string> validator)
 {
     return(validator.IsNotWhiteSpace(ExceptionMessages.VALUE_CANNOT_BE_EMPTY_OR_WHITE_SPACE));
 }