GrateSettingsExtensions.

WithUserToken(GrateSettings, string, string) Method

Summary

Adds a UserToken to the settings.
Assembly
Cake.grate.dll
Namespace
Cake.Grate
Containing Type
GrateSettingsExtensions

Syntax

public static GrateSettings WithUserToken(this GrateSettings settings, string key, string value)

Parameters

Name Type Description
settings GrateSettings The settings.
key string The name of the user token (-usertokens [key]=[value]).
value string The value of the user token (-usertokens [key]=[value]).

Return Value

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