Method ThrowIfNullOrWhiteSpace
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
ThrowIfNullOrWhiteSpace(string, string)
Throws an ArgumentNullException if the string is null, empty, or whitespace.
public static string ThrowIfNullOrWhiteSpace(this string obj, string objArgName = null)
Parameters
Returns
Exceptions
- ArgumentNullException
objis null, empty, or whitespace.