Summary
Registers the specified Cake module.
- Namespace
- Cake
.Cli - Containing Type
- Service
Collection Extensions
Syntax
public static IServiceCollection UseModule(this IServiceCollection services, ICakeModule module)
Parameters
| Name | Type | Description |
|---|---|---|
| services | IServiceCollection | The service collection. |
| module | ICakeModule | The module to register. |
Return Value
| Type | Description |
|---|---|
| IServiceCollection | The same IServiceCollection instance so that multiple calls can be chained. |
