/// <summary> /// Get an aggregation of all workitem analyses for a specific workitem in the /// job set. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='workitem'> /// The workitem name to retrieve analyses for. /// </param> /// <param name='groupBy'> /// A list of grouping expressions that will control /// the groups of the returned list. For more information, see 'jobs' method. /// {!:JobSummary(JobFilter,string[],int)} /// </param> /// <param name='otherProperties'> /// A list of other job properties to return. /// </param> /// <param name='filtercreator'> /// The job creator. /// </param> /// <param name='filtersource'> /// The job source. /// </param> /// <param name='filtertype'> /// The job type. /// </param> /// <param name='filterbuild'> /// The build number. /// </param> /// <param name='filtername'> /// The Name/CorrelationId number. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <AggregateWorkItemSummary> AnalysisSummaryAsync(this IAggregate operations, string workitem, IList <string> groupBy, IList <string> otherProperties, string filtercreator = default(string), string filtersource = default(string), string filtertype = default(string), string filterbuild = default(string), string filtername = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.AnalysisSummaryWithHttpMessagesAsync(workitem, groupBy, otherProperties, filtercreator, filtersource, filtertype, filterbuild, filtername, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }