Exemplo n.º 1
0
 /// <summary>
 /// Retrieves the partial assetlifecycle tree from the asset itself to its top
 /// level location/function parent
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='client'>
 /// The name of the client account.
 /// </param>
 /// <param name='id'>
 /// The asset Guid to retrieve.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IList <AssetIdAndChildrenAssetReferences> > GetLifecycleStateParentsOfAssetAsync(this IAssets operations, string client, string id, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetLifecycleStateParentsOfAssetWithHttpMessagesAsync(client, id, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }