TransifexRunnerSettings.

GetValue<TValue>(string, TValue) Method

Summary

Gets the stored value with the specified key.
Assembly
Cake.Transifex.dll
Namespace
Cake.Transifex
Containing Type
TransifexRunnerSettings

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.