Пример #1
0
 public bool CanExecute(Command cmd)
 {
     return commands.Contains(cmd);
 }
Пример #2
0
 public void Add(Command cmd)
 {
     commands.Add(cmd);
 }
Пример #3
0
 public bool Contains(Command cmd)
 {
     return commands.Contains(cmd);
 }
Пример #4
0
 public bool Remove(Command cmd)
 {
     return commands.Remove(cmd);
 }