Пример #1
0
 /// <summary>
 /// Retrieve a single asset by Guid, will only return assets that are active in
 /// the 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='id'>
 /// The asset Guid to retrieve.
 /// </param>
 public static Asset GetActiveInHierarchyAssetById(this IAssets operations, string client, string id)
 {
     return(operations.GetActiveInHierarchyAssetByIdAsync(client, id).GetAwaiter().GetResult());
 }