Summary
Resolves the specified tool using the specified tool repository.
- Namespace
- Cake
.Core .Tooling - Containing Type
- Tool
Resolution Strategy
Syntax
public FilePath Resolve(IToolRepository repository, IEnumerable<string> toolExeNames)
Parameters
Name | Type | Description |
---|---|---|
repository | IToolRepository | The tool repository. |
toolExeNames | IEnumerable |
The possible names of the tool executable. |
Return Value
Type | Description |
---|---|
FilePath | The path to the tool; otherwise null . |