Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 59 additions & 6 deletions Repo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ static class Repo
{ "Parmigiana", new[] {"tomato", "eggplant" } },
{ "Spice Garden", new[] {"green pepper", "banana pepper", "jalapeño pepper" } },
{ "Spinach Delight", new[] {"spinach", "tomato" } },
{ "Veggie Lovers", new[] {"tomato", "olive", "spinach", "mushroom", "onion" } }
{ "Veggie Lovers", new[] {"tomato", "olive", "spinach", "mushroom", "onion" } },
{ "Wild Mushroom", new{} {"oyster mushroom", "shitake", "baby portabella","trumpet","creamy parmesan sauce" } }
}
);

Expand All @@ -64,8 +65,12 @@ static class Repo
"boiled egg",
"canadian bacon",
"chicken",
"crab meat",
"duck prosciutto",
"ham",
"hot chorizo sausage",
"italian sausage",
"meatball",
"pepperoni",
"prosciutto",
"salami",
Expand All @@ -89,25 +94,70 @@ static class Repo
"broccoli",
"cherry tomato",
"eggplant",
"fig",
"garlic",
"goat cheese",
"gorgonzola",
"green pepper",
"heirloom tomato"
"jalapeño pepper",
"mozzarella",
"mushroom",
"olive",
"onion",
"parmigian",
"pineapple",
"potato",
"red onion",
"red pepper",
"riccota",
"roasted garlic",
"sauerkraut",
"spinach",
"sweetcorn",
"tomato"
"tomato",
"walnuts"
}
);

private static Lazy<string[]> _sauces = new Lazy<string[]>(() =>
new[]
{
"alfredo",
"bbq sauce",
"bean sauce",
"bechamel",
"butter sauce",
"creamy parmesan",
"honey",
"marinara",
"olive oil",
"pesto",
"red sauce",
"siracha",
"spicey red sauce"

}
);

private static Lazy<string[]> _cheeses = new Lazy<string[]>(() =>
new[]
{
"asiago",
"blue cheese",
"brie",
"burrata",
"cheddar",
"colby jack",
"feta",
"goat cheese",
"gorgonzola",
"gouda",
"mozzarella",
"myzithra",
"parmigiano reggiano",
"pepper jack",
"pecorino romano",
"provolone",
"ricotta",
"taleggio"

}
);

Expand All @@ -116,7 +166,10 @@ static class Repo
public static IEnumerable<KeyValuePair<string, string[]>> AllPizzas { get => _meatPizzas.Value.Concat(_veggiePizzas.Value); }
public static string[] Meats { get => _meats.Value; }
public static string[] Veggies { get => _veggies.Value; }
public static string[] Cheeses { get =>_cheeses.Value; }
public static string[] Sauces {get => _sauces.Value; }
public static string[] AllToppings { get => _veggies.Value.Concat(_meats.Value).ToArray(); }

}

enum PizzaType
Expand Down