NpmContentResolver Class

Summary

A content resolver for packages installed with the npm package manager.
Assembly
Cake.Npm.Module.dll
Namespace
Cake.Npm.Module
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["INpmContentResolver"] click Interface0 "/api/Cake.Npm.Module/INpmContentResolver" Type["NpmContentResolver"] class Type type-node

Syntax

public class NpmContentResolver : INpmContentResolver

Constructors

Methods

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

Extension Methods

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