AsanaCommandAliases.

GetTaskByIdAsync(ICakeContext, string, string) Method

Summary

Fetch the Cake.Board.Abstractions.IWorkItem by Id.
Assembly
Cake.Board.Asana.dll
Namespace
Cake.Board.Asana
Containing Type
AsanaCommandAliases

Syntax

public static Task<IWorkItem> GetTaskByIdAsync(this ICakeContext context, string personalAccessToken, string id)

Attributes

Type Description
AsyncStateMachineAttribute
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The ICakeContext of precess.
personalAccessToken string The personal access token.
id string The task id.

Return Value

Type Description
Task<IWorkItem> A Task<TResult> representing the result of the asynchronous operation.