/// <summary> /// Initializes a new instance of the <see cref="ApiClient"/> class /// </summary> /// <param name="apiConnection"> /// The client's connection /// </param> protected ApiClient(IApiConnection apiConnection) { apiConnection.ArgumentNotNull(nameof(apiConnection)); ApiConnection = apiConnection; Connection = apiConnection.Connection; }