WorkItemCommand.

GetWorkItemByIdAsync(ICakeContext, IBoard, string) Method

Summary

Fetch the Cake.Board.Abstractions.IWorkItem by Id.

Syntax

public static Task<IWorkItem> GetWorkItemByIdAsync(this ICakeContext context, IBoard board, string id)

Attributes

Type Description
AsyncStateMachineAttribute
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The ICakeContext of precess.
board IBoard The Cake.Board.Abstractions.IBoard.
id string The work item id.

Return Value

Type Description
Task<IWorkItem> A System.Threading.Tasks.Task`1 representing the result of the asynchronous operation.