Edit

Settings.Add<T>(Setting<T>) Method

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

Adds a new setting to the command palette extension's configuration. This method is used to define settings that can be accessed and modified by the command palette extension.

Parameters

s Setting<T>

The setting to add. This should be an instance of the Setting<T> class, which contains the key, value, and other metadata for the setting.