| JobConfigurationGetSettingT Method (String, T) |
Gets a setting with the specified type and default value.
Namespace:
Ookii.Jumbo.Jet.Jobs
Assembly:
Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax public T GetSetting<T>(
string key,
T defaultValue
)
Public Function GetSetting(Of T) (
key As String,
defaultValue As T
) As T
public:
generic<typename T>
T GetSetting(
String^ key,
T defaultValue
)
member GetSetting :
key : string *
defaultValue : 'T -> 'T
Parameters
- key
- Type: SystemString
The name of the setting. - defaultValue
- Type: T
The value to use if the setting is not present in the SettingsDictionary.
Type Parameters
- T
- The type of the setting.
Return Value
Type:
TThe value of the setting, or
defaultValue if the setting was not present in the
SettingsDictionary.
See Also