LibManInstallExtensions.

SetLibraryFromPath(LibManInstallSettings, string) Method

Summary

Installs a client side library by file Path or Url. Sets the CdnProvider to filesystem.
Assembly
Cake.LibMan.dll
Namespace
Cake.LibMan.Install
Containing Type
LibManInstallExtensions

Syntax

public static LibManInstallSettings SetLibraryFromPath(this LibManInstallSettings settings, string filePathOrUrl)

Parameters

Name Type Description
settings LibManInstallSettings The settings.
filePathOrUrl string The file Path or URL to copy/download the file from

Return Value

Type Description
LibManInstallSettings The settings instance with Library set to filePathOrUrl and Provider set to filesystem.