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