Summary
Registers a package installer.
- Namespace
- Cake
.Frosting - Containing Type
- Service
Collection Extensions
Syntax
public static IServiceCollection UsePackageInstaller<TPackageInstaller>(this IServiceCollection services)
where TPackageInstaller : class, IPackageInstaller
Type Parameters
Name | Description |
---|---|
TPackageInstaller | The type of the package installer. |
Parameters
Name | Type | Description |
---|---|---|
services | IServiceCollection | The service collection. |
Return Value
Type | Description |
---|---|
IServiceCollection | The same IServiceCollection instance so that multiple calls can be chained. |