ServiceCollectionExtensions.

UseToolPath(IServiceCollection, DirectoryPath) Method

Summary

Sets the tool path configuration to the specified value.
Namespace
Cake.Frosting
Containing Type
ServiceCollectionExtensions

Syntax

public static IServiceCollection UseToolPath(this IServiceCollection services, DirectoryPath toolPath)

Parameters

Name Type Description
services IServiceCollection The service collection.
toolPath DirectoryPath The tool path value.

Return Value

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