<PackageReference Include="Relativity.Server.Import.SDK" Version="2.9.2" />

ArgValidationExtensions

Extensions for method arguments validation.
public static TObject ThrowIfNull<TObject>(this TObject obj, string paramName)

It throws ArgumentNullException when passed argument is null.

public static string ThrowIfNullOrEmpty(this string obj, string paramName)

It throws ArgumentException when passed argument of type string is null or empty.