TaskGraphGeneratorHelpers.

GetTaskDependency(ICakeContext, IDictionary<string, ICakeTaskInfo>, string) Method

Summary

Looks up the dependency in the dictionary and throws an exception if unable to find it

Syntax

public static ICakeTaskInfo GetTaskDependency(ICakeContext context, IDictionary<string, ICakeTaskInfo> taskDictionary, string dependencyName)

Parameters

Name Type Description
context ICakeContext
taskDictionary IDictionary<string, ICakeTaskInfo>
dependencyName string

Return Value

Type Description
ICakeTaskInfo