IToolLocator Interface

Summary

Represents a tool locator.
Namespace
Cake.Core.Tooling
Implementing Types
graph BT Type["IToolLocator"] class Type type-node Implementing0["ToolLocator"]-.->Type click Implementing0 "/api/Cake.Core.Tooling/ToolLocator"

Syntax

public interface IToolLocator

Methods

Name Value Summary
RegisterFile(FilePath) void
Registers the specified tool file path.
Resolve(IEnumerable<string>) FilePath
Resolves the path to the specified tool.
Resolve(string) FilePath
Resolves the path to the specified tool.

Extension Methods

Name Value Summary
Dump<IToolLocator>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<IToolLocator>(IToolLocator[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<IToolLocator>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<IToolLocator>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<IToolLocator>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<IToolLocator>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin