Class FoodRecipe
Inheritance
System.Object
FoodRecipe
Assembly: Collapse.dll
Syntax
public class FoodRecipe : object
Constructors
FoodRecipe()
Declaration
FoodRecipe(Int32, Boolean, List<EIngredientType>)
Declaration
public FoodRecipe(int minNutritionRequired, bool allIngredientsRequired, List<EIngredientType> ingredients)
Parameters
Type |
Name |
Description |
System.Int32 |
minNutritionRequired |
|
System.Boolean |
allIngredientsRequired |
|
List<EIngredientType> |
ingredients |
|
Properties
AllIngredientsRequired
Declaration
public bool AllIngredientsRequired { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Ingredients
Declaration
public List<EIngredientType> Ingredients { get; set; }
Property Value
MinNutritionRequired
Declaration
public int MinNutritionRequired { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
GetIngredients()
Get the Ingredients JSON property.
Declaration
public List<EIngredientType> GetIngredients()
Returns
SetIngredients(List<EIngredientType>)
Set the Ingredients JSON property.
Declaration
public void SetIngredients(List<EIngredientType> value)
Parameters