/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='docType'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> GetByDexFlowDocTypeByDocTypeAsync(this IDocumentTypes operations, string docType, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetByDexFlowDocTypeByDocTypeWithHttpMessagesAsync(docType, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='docType'> /// </param> public static object GetByDexFlowDocTypeByDocType(this IDocumentTypes operations, string docType) { return(operations.GetByDexFlowDocTypeByDocTypeAsync(docType).GetAwaiter().GetResult()); }
/// <param name='operations'> /// The operations group for this extension method. /// </param> public static object Get(this IDocumentTypes operations) { return(operations.GetAsync().GetAwaiter().GetResult()); }