Model.Recipe.Recipe C# (CSharp) Méthode

Recipe() public méthode

public Recipe ( string pName, string pType ) : System.Collections.Generic
pName string
pType string
Résultat System.Collections.Generic
        public Recipe(string pName, string pType)
        {
            name = pName;
            type = pType;
            ProductDocumationAccess p = new ProductDocumationAccess();
            IList = p.GetIngredients(pName);
            CalculateUse(p.GetAmoughtIngredients(pType));
        }
        private void CalculateUse(double amought)