LibManInstallExtensions Class

Summary

Extensions for LibManInstallSettings.
Assembly
Cake.LibMan.dll
Namespace
Cake.LibMan.Install
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["LibManInstallExtensions"] class Type type-node

Syntax

public static class LibManInstallExtensions

Methods

Name Value Summary
AddFile(LibManInstallSettings, FilePath) LibManInstallSettings
Adds a specific file to restore from the library.
static
SetLibrary(LibManInstallSettings, string, string, string) LibManInstallSettings
Installs a client side library by name, version, and scope.
static
SetLibrary(LibManInstallSettings, string, string) LibManInstallSettings
Installs a client side library by name and scope.
static
SetLibrary(LibManInstallSettings, string) LibManInstallSettings
Installs a client side library by name and version.
static
SetLibraryFromPath(LibManInstallSettings, string) LibManInstallSettings
Installs a client side library by file Path or Url. Sets the CdnProvider to filesystem.
static
SetScopedLibrary(LibManInstallSettings, string, string) LibManInstallSettings
Installs a client side library by name and scope.
static
WithDestination(LibManInstallSettings, DirectoryPath) LibManInstallSettings
Sets the destination directory path to install the client side library files too.
static
WithProvider(LibManInstallSettings, CdnProvider) LibManInstallSettings
Sets the cbn provider to retrieve the client side library from. Cannot set to Default.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin