IPluginSettingsTryGetSettingTSetting Method |
Get setting by its key.
Namespace:
Resto.Front.Api.Data.Settings
Assembly:
Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax TSetting TryGetSetting<TSetting>(
string key
)
where TSetting : class, ISetting
Parameters
- key
- Type: SystemString
Key of setting.
Type Parameters
- TSetting
- Type of setting.
Return Value
Type:
TSettingSetting or null if none specified.
See Also