/// <summary> /// Gets <seealso cref="ISubmissionResultAwaiter"/> /// </summary> /// <param name="indicoClient">Instance of <seealso cref="IndicoClient"/></param> /// <returns></returns> public static ISubmissionResultAwaiter GetSubmissionResultAwaiter(this IndicoClient indicoClient) => new SubmissionResultAwaiter(indicoClient.Submissions(), indicoClient.JobAwaiter(), indicoClient.Storage());
/// <summary> /// Gets <seealso cref="IOcrClient"/> /// </summary> /// <param name="indicoClient">Instance of <seealso cref="IndicoClient"/></param> /// <returns>Instance of <seealso cref="IOcrClient"/></returns> public static IOcrClient Ocr(this IndicoClient indicoClient) => new OcrV1ClientAdapter(indicoClient.LegacyClient, indicoClient.Storage());