Commit d249f786 authored by Ian Slater's avatar Ian Slater
Browse files

Finshed implimentation of the Entree class

parent b690faf8
......@@ -9,7 +9,7 @@ namespace CowboyCafe.Data
/// <summary>
/// The price of the Sandwich
/// </summary>
public double Price
public override double Price
{
get
{
......@@ -20,7 +20,7 @@ namespace CowboyCafe.Data
/// <summary>
/// The calories of the sandwich
/// </summary>
public uint Calories
public override uint Calories
{
get
{
......@@ -48,7 +48,7 @@ namespace CowboyCafe.Data
set { pickle = value; }
}
public List<string> SpecialInstructions
public override List<string> SpecialInstructions
{
get
{
......
......@@ -51,7 +51,7 @@ namespace CowboyCafe.Data
/// <summary>
/// The price of the chili
/// </summary>
public double Price
public override double Price
{
get
{
......@@ -62,7 +62,7 @@ namespace CowboyCafe.Data
/// <summary>
/// The calories of the chili
/// </summary>
public uint Calories
public override uint Calories
{
get
{
......@@ -73,7 +73,7 @@ namespace CowboyCafe.Data
/// <summary>
/// Special instructions for the preparation of the chili
/// </summary>
public List<string> SpecialInstructions
public override List<string> SpecialInstructions
{
get
{
......
......@@ -10,7 +10,7 @@ namespace CowboyCafe.Data
/// <summary>
/// The price of the burger
/// </summary>
public double Price
public override double Price
{
get
{
......@@ -21,7 +21,7 @@ namespace CowboyCafe.Data
/// <summary>
/// The calories of the burger
/// </summary>
public uint Calories
public override uint Calories
{
get
{
......@@ -110,7 +110,7 @@ namespace CowboyCafe.Data
set { mayo = value; }
}
public List<string> SpecialInstructions
public override List<string> SpecialInstructions
{
get
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace CowboyCafe.Data
{
public abstract class Entree
{
/// <summary>
/// skeleton parameter for price variable
/// </summary>
public abstract double Price { get; }
/// <summary>
/// skeleton parameter for the calories variable
/// </summary>
public abstract uint Calories { get; }
/// <summary>
/// Skeleton parameter for the special instructions method
/// </summary>
public abstract List<string> SpecialInstructions { get; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace CowboyCafe.Data
{
public class Entree
{
}
}
......@@ -9,7 +9,7 @@ namespace CowboyCafe.Data
/// <summary>
/// The price of the pulled pork
/// </summary>
public double Price
public override double Price
{
get
{
......@@ -20,7 +20,7 @@ namespace CowboyCafe.Data
/// <summary>
/// The calories of the sandwich
/// </summary>
public uint Calories
public override uint Calories
{
get
{
......@@ -48,7 +48,7 @@ namespace CowboyCafe.Data
set { pickle = value; }
}
public List<string> SpecialInstructions
public override List<string> SpecialInstructions
{
get
{
......
......@@ -10,7 +10,7 @@ namespace CowboyCafe.Data
/// <summary>
/// The price of the ribs
/// </summary>
public double Price
public override double Price
{
get
{
......@@ -21,7 +21,7 @@ namespace CowboyCafe.Data
/// <summary>
/// The calories of the ribs
/// </summary>
public uint Calories
public override uint Calories
{
get
{
......@@ -29,7 +29,7 @@ namespace CowboyCafe.Data
}
}
public List<string> SpecialInstructions
public override List<string> SpecialInstructions
{
get
{
......
......@@ -10,7 +10,7 @@ namespace CowboyCafe.Data
/// <summary>
/// The price of the burger
/// </summary>
public double Price
public override double Price
{
get
{
......@@ -21,7 +21,7 @@ namespace CowboyCafe.Data
/// <summary>
/// The calories of the burger
/// </summary>
public uint Calories
public override uint Calories
{
get
{
......@@ -133,7 +133,7 @@ namespace CowboyCafe.Data
/// <summary>
///
/// </summary>
public List<string> SpecialInstructions
public override List<string> SpecialInstructions
{
get
{
......
......@@ -10,7 +10,7 @@ namespace CowboyCafe.Data
/// <summary>
/// The price of the burger
/// </summary>
public double Price
public override double Price
{
get
{
......@@ -21,7 +21,7 @@ namespace CowboyCafe.Data
/// <summary>
/// The calories of the burger
/// </summary>
public uint Calories
public override uint Calories
{
get
{
......@@ -79,7 +79,7 @@ namespace CowboyCafe.Data
set { cheese = value; }
}
public List<string> SpecialInstructions
public override List<string> SpecialInstructions
{
get
{
......
......@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Text;
using Xunit;
using CowboyCafe.Data;
/*
namespace CowboyCafe.DataTests
{
public class BakedBeansTest
......@@ -54,4 +54,3 @@ namespace CowboyCafe.DataTests
}
}
}
*/
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment