ThrowHelper static class ThrowHelper Documentation Code public static void ThrowIfNull(object argument, string paramName = null) public static void ThrowIfNullOrEmpty(string argument, string paramName = null) public static void ThrowIfNullOrWhiteSpace(string argument, string paramName = null) public static void ThrowObjectDisposedIf(bool condition, object instance)