IPluginSettingsTryGetValueTSetting, TValue Method (String) |
Get value specified for TSettings<TValue> by its key.
Namespace:
Resto.Front.Api.Data.Settings
Assembly:
Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax TValue TryGetValue<TSetting, TValue>(
string key
)
where TSetting : BaseSetting<TValue>
Parameters
- key
- Type: SystemString
Key of setting.
Type Parameters
- TSetting
- Type of setting.
- TValue
- Return type of value.
Return Value
Type:
TValueValue of setting or
default(TValue) if none specified.
See Also