Summary
Registers a task setup action.
- Namespace
- Cake
.Frosting - Containing Type
- Service
Collection Extensions
Syntax
public static IServiceCollection UseTaskSetup<TSetup>(this IServiceCollection services)
where TSetup : class, IFrostingTaskSetup
Type Parameters
Name | Description |
---|---|
TSetup | The task setup action. |
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. |