Ejemplo n.º 1
0
 public async static Task <List <WorkItemClassificationNode> > GetClassificationNodes(WorkItemTrackingHttpClient client, string project)
 {
     Logger.LogInformation(LogDestination.File, $"Getting all classification nodes for {client.BaseAddress.Host}");
     return(await RetryHelper.RetryAsync(async() =>
     {
         return await client.GetRootNodesAsync(project, depth: int.MaxValue);
     }, 5));
 }