IToolLocator Interface

Summary

Represents a tool locator.
Namespace
Cake.Core.Tooling
Implementing Types
graph TD Type["IToolLocator"] class Type type-node Type-.->Implementing0["ToolLocator"] 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(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.Issues addin
NotNull<IToolLocator>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<IToolLocator>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator 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