IChocolateyContentResolver Interface

Summary

Represents a file locator for Chocolatey packages that returns relevant files given the resource type.
graph BT Type["IChocolateyContentResolver"] class Type type-node Implementing0["ChocolateyContentResolver"]-.->Type click Implementing0 "/api/Cake.Chocolatey.Module/ChocolateyContentResolver"

Syntax

public interface IChocolateyContentResolver

Methods

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

Extension Methods

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