Asana.

Asana(HttpClient) Constructor

Summary

Initializes a new instance of the Asana class.
Assembly
Cake.Board.Asana.dll
Namespace
Cake.Board.Asana
Containing Type
Asana

Syntax

public Asana(HttpClient client)

Examples

 var client = new HttpClient
 {
     BaseAddress = new Uri($"https://app.asana.com/api/1.0")
 };
 client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", {personalAccessToken})));

 var board = new AzureBoards(client);

Parameters

Name Type Description
client HttpClient The preconfigured System.Net.Http.HttpClient with sets System.Net.Http.Headers.AuthenticationHeaderValue.

Return Value

Type Description
void