public void PrintToConsole() { Console.WriteLine("ID: " + ID.ToString() + "," + "Name: " + Name + "," + "Portion Count: " + PortionCount.ToString() + "," + "Unit: " + Unit.ToString() + "," + "Portion Size: " + PortionSize.ToString()); }
public TurkeyBread(PortionSize size) { this.size = size; }
protected CondimentDecorator(string description, PortionSize portionSize) : base(description, portionSize) { }
protected Beverage(string description, PortionSize size) { _description = description; _size = size; }
public Cheese(PortionSize size) { this.size = size; }
public Meat(PortionSize size) { this.size = size; }
public Comdiment(PortionSize size) { this.size = size; }
public Espresso(PortionSize portionSize) : base("Espresso", portionSize) { }
public override string ToString() { return(ID.ToString() + "," + Name + "," + PortionCount.ToString() + "," + Unit.ToString() + "," + PortionSize.ToString()); }
public HouseBlend(PortionSize portionSize) : base("House Blend Coffee", portionSize) { }
public Decaf(PortionSize portionSize) : base("Without coffeine", portionSize) { }
public DarkRoast(PortionSize portionSize) : base("Dark Roast Coffee", portionSize) { }