This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.grate.
Summary
Adds a UserToken to the settings.
- Assembly
- Cake
.grate .dll - Namespace
- Cake
.Grate - Containing Type
- Grate
Settings Extensions
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. |