/// <summary> /// Called when a settings command was selected in the Settings Charm. /// </summary> /// <param name="command">The settings command.</param> protected virtual void OnCommandSelected(SettingsCommandBase command) { command.OnSelected(); }
/// <summary> /// Registers a settings command with the service. /// </summary> /// <param name="command">The command to register.</param> public void RegisterCommand(SettingsCommandBase command) { commands.Add(command); }