LibManInstallExtensions.

SetLibrary(LibManInstallSettings, string, string, string) Method

Summary

Installs a client side library by name, version, and scope.
Assembly
Cake.LibMan.dll
Namespace
Cake.LibMan.Install
Containing Type
LibManInstallExtensions

Syntax

public static LibManInstallSettings SetLibrary(this LibManInstallSettings settings, string libraryName, string version, string scope)

Parameters

Name Type Description
settings LibManInstallSettings The settings.
libraryName string Name of the client side library. e.g - jquery.
version string Version or tag published to the registry. e.g. - 3.2.1
scope string Scope of the package. Null for not restricting to a scope.

Return Value

Type Description
LibManInstallSettings The settings instance with Library set to libraryName, version, and scope.