MermaidGraphGenerator.

SerializeAsync(ICakeContext, ICakeTaskInfo, IReadOnlyList<ICakeTaskInfo>) Method

Summary

Convert the task and dependencies to mermaid syntax string
Assembly
Cake.Graph.dll
Namespace
Cake.Graph.Generators
Containing Type
MermaidGraphGenerator

Syntax

public Task<string> SerializeAsync(ICakeContext context, ICakeTaskInfo task, IReadOnlyList<ICakeTaskInfo> tasks)

Attributes

Type Description
AsyncStateMachineAttribute

Parameters

Name Type Description
context ICakeContext
task ICakeTaskInfo
tasks IReadOnlyList<ICakeTaskInfo>

Return Value

Type Description
Task<string>