Exemplo n.º 1
0
 /// <summary>
 /// Returns the functional taxonomy for all assets, 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='depth'>
 /// Optionally prunes the functional taxonomy to only include the indicated
 /// levels.
 /// </param>
 /// <param name='inactive'>
 /// Optionally returns inactive assets as well as active ones
 /// </param>
 public static IList <TaxonomyLevelDescriptor> GetLocationTaxonomy(this IAssets operations, string client, int?depth = default(int?), bool?inactive = default(bool?))
 {
     return(operations.GetLocationTaxonomyAsync(client, depth, inactive).GetAwaiter().GetResult());
 }