Click or drag to resize

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
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