INpmContentResolver Interface

Summary

Represents a content resolver for packages installed with the npm package manager.
Assembly
Cake.Npm.Module.dll
Namespace
Cake.Npm.Module
Implementing Types
graph BT Type["INpmContentResolver"] class Type type-node Implementing0["NpmContentResolver"]-.->Type click Implementing0 "/api/Cake.Npm.Module/NpmContentResolver"

Syntax

public interface INpmContentResolver

Methods

Name Value Summary
GetFiles(PackageReference, PackageType, ModulesInstallationLocation) IReadOnlyCollection<IFile>
Returns the files installed by the given package.

Extension Methods

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