Show / Hide Table of Contents

Class FoodRecipe

Inheritance
System.Object
FoodRecipe
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public class FoodRecipe : object

Constructors

FoodRecipe()

Declaration
public FoodRecipe()

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
Type Description
List<EIngredientType>

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
Type Description
List<EIngredientType>

SetIngredients(List<EIngredientType>)

Set the Ingredients JSON property.

Declaration
public void SetIngredients(List<EIngredientType> value)
Parameters
Type Name Description
List<EIngredientType> value
Back to top © 2020 Anarkis Gaming. All rights reserved. Generated by DocFX