public virtual void Remove(MenuComponent menuComponent)
 {
     throw new InvalidOperationException();
 }
Beispiel #2
0
 public override void Add(MenuComponent menuComponent)
 {
     _menuComponents.Add(menuComponent);
 }
Beispiel #3
0
 public override void Remove(MenuComponent menuComponent)
 {
     _menuComponents.Remove(menuComponent);
 }
Beispiel #4
0
 public Waitress(MenuComponent allMenus)
 {
     _allMenus = allMenus;
 }