ServiceCollectionExtensions.

UseCakeSetting(IServiceCollection, string, string) Method

Summary

Sets the specified Cake setting to the specified value.
Namespace
Cake.Frosting
Containing Type
ServiceCollectionExtensions

Syntax

public static IServiceCollection UseCakeSetting(this IServiceCollection services, string key, string value)

Parameters

Name Type Description
services IServiceCollection The service collection.
key string The setting key.
value string The setting value.

Return Value

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