IDotNetToolContentResolver Interface

Summary

Represents a file locator for dotnet Tool packages that returns relevant files given the resource type.
graph BT Type["IDotNetToolContentResolver"] class Type type-node Implementing0["DotNetToolContentResolver"]-.->Type click Implementing0 "/api/Cake.DotNetTool.Module/DotNetToolContentResolver"

Syntax

public interface IDotNetToolContentResolver

Methods

Name Value Summary
GetFiles(PackageReference, PackageType) IReadOnlyCollection<IFile>
Gets the relevant files for a dotnet Tool package given a resource type.

Extension Methods

Name Value Summary
Dump<IDotNetToolContentResolver>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<IDotNetToolContentResolver>(IDotNetToolContentResolver[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<IDotNetToolContentResolver>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<IDotNetToolContentResolver>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<IDotNetToolContentResolver>(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<IDotNetToolContentResolver>(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