ToolResolutionStrategy.

Resolve(IToolRepository, IEnumerable<string>) Method

Summary

Resolves the specified tool using the specified tool repository.
Namespace
Cake.Core.Tooling
Containing Type
ToolResolutionStrategy

Syntax

public FilePath Resolve(IToolRepository repository, IEnumerable<string> toolExeNames)

Parameters

Name Type Description
repository IToolRepository The tool repository.
toolExeNames IEnumerable<string> The possible names of the tool executable.

Return Value

Type Description
FilePath The path to the tool; otherwise null.