Exemplo n.º 1
0
 /// <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();
 }
Exemplo n.º 2
0
 /// <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);
 }