コード例 #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>
 public static IList <AssetIdAndChildrenAssetReferences> GetLifecycleStateParentsOfAsset(this IAssets operations, string client, string id)
 {
     return(operations.GetLifecycleStateParentsOfAssetAsync(client, id).GetAwaiter().GetResult());
 }