TaskGraphGeneratorHelpers Class

Summary

Helper methods for use in generators
Assembly
Cake.Graph.dll
Namespace
Cake.Graph.Generators
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["TaskGraphGeneratorHelpers"] class Type type-node

Syntax

public static class TaskGraphGeneratorHelpers

Methods

Name Value Summary
GetTaskDependency(ICakeContext, IDictionary<string, ICakeTaskInfo>, string) ICakeTaskInfo
Looks up the dependency in the dictionary and throws an exception if unable to find it
static
ValidateParameters(ICakeContext, ICakeTaskInfo, IReadOnlyList<ICakeTaskInfo>) void
Ensure parameters are valid
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin