示例#1
0
 /// <summary>
 /// Gets the information for the specified build.
 /// </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='sources'>
 /// The sources for the build
 /// </param>
 /// <param name='types'>
 /// The types for the build
 /// </param>
 /// <param name='buildNumber'>
 /// The build number
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <BuildAggregation> BuildAsync(this IAggregate operations, IList <string> sources, IList <string> types, string buildNumber, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.BuildWithHttpMessagesAsync(sources, types, buildNumber, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }