/// <summary> /// Initializes a new instance of the <see cref="Configuration"/> class. /// </summary> /// <param name="service"> /// An object representing the root of Trulioo configuration service. /// </param> /// <exception cref="ArgumentNullException"> /// <paramref name="service"/> is <c>null</c>. /// </exception> protected internal Configuration(TruliooApiClient service) { if (service == null) throw new ArgumentNullException(nameof(service)); _service = service; }
/// <summary> /// Initializes a new instance of the <see cref="Verification"/> class. /// </summary> /// <param name="service"> /// An object representing the root of Trulioo configuration service. /// </param> /// <exception cref="System.ArgumentNullException"> /// <paramref name="service"/> is <c>null</c>. /// </exception> protected internal Verification(TruliooApiClient service) { if (service == null) { throw new ArgumentNullException(nameof(service)); } _service = service; }
/// <summary> /// Initializes a new instance of the <see cref="BusinessSearch"/> class. /// </summary> /// <param name="service"> /// An object representing the root of Trulioo configuration service. /// </param> /// <exception cref="ArgumentNullException"> /// <paramref name="service"/> is <c>null</c>. /// </exception> protected internal BusinessSearch(TruliooApiClient service) { if (service == null) { throw new ArgumentNullException(nameof(service)); } _service = service; }
/// <summary> /// Initializes a new instance of the <see cref="Configuration" /> class. /// </summary> /// <param name="service"> /// An object representing the root of Trulioo configuration service. /// </param> /// <exception cref="ArgumentNullException"> /// <paramref name="service" /> is <c>null</c>. /// </exception> protected internal Configuration(TruliooApiClient service) { this._service = service ?? throw new ArgumentNullException(nameof(service)); }