CakeHost.

ConfigureServices(Action<IServiceCollection>) Method

Summary

Adds a delegate for configuring additional services for the host.
Namespace
Cake.Frosting
Containing Type
CakeHost

Syntax

public CakeHost ConfigureServices(Action<IServiceCollection> services)

Parameters

Name Type Description
services Action<IServiceCollection> A delegate for configuring the IServiceCollection.

Return Value

Type Description
CakeHost The same CakeHost instance so that multiple calls can be chained.