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