/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='translationKey'> /// </param> /// <param name='languageCode'> /// </param> /// <param name='apiVersion'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <string> GetTranslationAsync(this ISkpAPIv10 operations, string translationKey, string languageCode, string apiVersion = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetTranslationWithHttpMessagesAsync(translationKey, languageCode, apiVersion, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }