Exemple #1
0
 /// <summary>
 /// Gets the build history for the past 30 days from the specified source and
 /// type pair(s)
 /// </summary>
 /// <remarks>
 /// The source(s) and type(s) must come in pairs
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='source'>
 /// The sources to get build history for
 /// </param>
 /// <param name='type'>
 /// The types to get build history for
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IList <BuildHistoryItem> > BuildHistoryAsync(this IAggregate operations, IList <string> source, IList <string> type, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.BuildHistoryWithHttpMessagesAsync(source, type, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }