Summary
Registers the specified lifetime type.
Only the last registration will be used.
- Namespace
- Cake
.Frosting - Containing Type
- CakeHostExtensions
Syntax
public static CakeHost UseLifetime<TLifetime>(this CakeHost host)
where TLifetime : class, IFrostingLifetime
Type Parameters
| Name | Description |
|---|---|
| TLifetime | The type of the lifetime. |
