/// <summary> /// Query for translations /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='projectName'> /// The name of the project /// </param> /// <param name='correlationId'> /// The prefix of the correlation id /// </param> /// <param name='query'> /// Search query /// </param> /// <param name='category'> /// Translation category /// </param> /// <param name='paginationToken'> /// A pagination token that was returned from the previous query with the same /// set of parameters /// </param> /// <param name='limit'> /// How many translations should be returned? Values above 250 are treated as /// if 250 was passed. /// </param> /// <param name='translatedOnly'> /// Return only the sentences which have corresponding translations /// </param> public static QueryTranslationsResult Query(this IDidacticalEnigmaMem operations, string projectName = default(string), string correlationId = default(string), string query = default(string), string category = default(string), string paginationToken = default(string), int?limit = 50, bool?translatedOnly = false) { return(operations.QueryAsync(projectName, correlationId, query, category, paginationToken, limit, translatedOnly).GetAwaiter().GetResult()); }