示例#1
0
 public virtual void Remove(MenuComponent menuComponent)
 {
     throw new InvalidOperationException();
 }
 public override void Add(MenuComponent menuComponent)
 {
     this.menuComponents.Add(menuComponent);
 }
 public override void Remove(MenuComponent menuComponent)
 {
     this.menuComponents.Remove(menuComponent);
 }
 public Waitress(MenuComponent allMenus)
 {
     this.allMenus = allMenus;
 }