CakeHostExtensions.

UsePackageInstaller<TPackageInstaller>(CakeHost) Method

Summary

Registers a package installer.
Namespace
Cake.Frosting
Containing Type
CakeHostExtensions

Syntax

public static CakeHost UsePackageInstaller<TPackageInstaller>(this CakeHost host) 
    where TPackageInstaller : class, IPackageInstaller

Type Parameters

Name Description
TPackageInstaller The type of the package installer.

Parameters

Name Type Description
host CakeHost The CakeHost to configure.

Return Value

Type Description
CakeHost The same CakeHost instance so that multiple calls can be chained.