Example #1
0
 public override void Remove(MenuComponent component)
 {
     menuComponents.Add(component);
 }
 public virtual void Remove(MenuComponent menuComponent)
 {
     throw new NotSupportedException("Operation NOT Supported.");
 }
Example #3
0
 public override void Add(MenuComponent component)
 {
     Console.WriteLine("Component Added Successfully:");
     menuComponents.Add(component);
 }
Example #4
0
 public Waitress(MenuComponent allMenus)
 {
     AllMenus = allMenus;
 }