Click or drag to resize

IPluginSettingsTryGetSettingTSetting Method

Get setting by its key.

Namespace:  Resto.Front.Api.V4.Data.Settings
Assembly:  Resto.Front.Api.V4 (in Resto.Front.Api.V4.dll)
Syntax
C#
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: TSetting
Setting or null if none specified.
See Also