This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Board.Asana.
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 |