Пример #1
0
 /// <summary>
 /// Returns the children for the supplied asset IDs, such as the Omniclass
 /// hierarchy.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='client'>
 /// The name of the client account.
 /// </param>
 /// <param name='assetIds'>
 /// Space separated Guids of assets ids
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IList <TaxonomyLevelDescriptor> > GetChildrenForAssetsAsync(this IAssets operations, string client, string assetIds, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetChildrenForAssetsWithHttpMessagesAsync(client, assetIds, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }