//ncrunch: no coverage start
 public void ChangeExistingStateInList(string adding, string key)
 {
     foreach (var trigger in AvailableCommands.GetAllTriggers(SelectedCommand))
     {
         CheckWichTriggerTypeToChange(adding, key, trigger);
     }
 }
示例#2
0
        public void ChangeExistingKeyInList(string adding, string removing)
        {
            if (ListAlreadyHasTrigger(adding))
            {
                return;
            }

            foreach (var trigger in AvailableCommands.GetAllTriggers(SelectedCommand))
            {
                CheckWichTriggerToChange(adding, removing, trigger);
            }
        }