INuGetContentResolver Interface

Summary

Represents a file locator for NuGet packages that returns relevant files for the current framework given the resource type.
Namespace
Cake.NuGet
graph BT Type["INuGetContentResolver"] class Type type-node

Syntax

public interface INuGetContentResolver

Methods

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

Extension Methods

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