/// <summary>
 /// Validates that the parameter is not null, empty or white space. Otherwise, an <see cref="ArgumentNullException" /> or <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="ArgumentNullException">Thrown when the parameter is null.</exception>
 /// <exception cref="ArgumentException">Thrown when the parameter is empty or white space.</exception>
 public static ParameterValidator <string> IsNotNullOrWhiteSpace(this ParameterValidator <string> validator)
 {
     return(validator.IsNotNullOrWhiteSpace(ExceptionMessages.VALUE_CANNOT_BE_NULL_EMPTY_OR_WHITE_SPACE));
 }