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.Transifex.
Summary
Gets the stored value with the specified key.
Syntax
protected TValue GetValue<TValue>(string key, TValue defaultValue)
Type Parameters
Name |
Description |
TValue |
The expected type the value should be in. |
Parameters
Name |
Type |
Description |
key |
string |
The key/id of the value. |
defaultValue |
TValue |
The value to return if no value have been stored. |
Return Value
Type |
Description |
TValue |
The stored value, or the specified defaultValue. |