INuGetContentResolver.

GetFiles(DirectoryPath, PackageReference, PackageType) Method

Summary

Gets the relevant files for a NuGet package given a path and a resource type.
Namespace
Cake.NuGet
Containing Type
INuGetContentResolver

Syntax

IReadOnlyCollection<IFile> GetFiles(DirectoryPath path, PackageReference package, PackageType type)

Parameters

Name Type Description
path DirectoryPath The path to search.
package PackageReference The package.
type PackageType The resource type.

Return Value

Type Description
IReadOnlyCollection<IFile> A collection of files.