Exemple #1
0
 public bool CanExecute(Command cmd)
 {
     return commands.Contains(cmd);
 }
Exemple #2
0
 public void Add(Command cmd)
 {
     commands.Add(cmd);
 }
Exemple #3
0
 public bool Contains(Command cmd)
 {
     return commands.Contains(cmd);
 }
Exemple #4
0
 public bool Remove(Command cmd)
 {
     return commands.Remove(cmd);
 }