ServiceCollectionExtensions.

UseTool(IServiceCollection, Uri) Method

Summary

Registers a specific tool for installation.
Namespace
Cake.Frosting
Containing Type
ServiceCollectionExtensions

Syntax

public static IServiceCollection UseTool(this IServiceCollection services, Uri uri)

Parameters

Name Type Description
services IServiceCollection The service collection.
uri Uri The tool URI.

Return Value

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