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