示例#1
0
 public Recette(string nom, string tpsPrepa, string cheminImg, string description, string préparation)
 {
     Nom         = nom;
     TpsPrepa    = tpsPrepa;
     Image       = cheminImg;
     Description = description;
     Aliments    = new List <Ingredient>();
     Outils      = new List <Ustensile>();
     Notes       = new List <int>();
     Messages    = new ListeCommentaire();
     Préparation = préparation;
 }
示例#2
0
 public Recette(string nom, string tpsPrepa, string cheminImg, string description, string préparation, int nbPers, int tpsCuisson, int difc)
 {
     Nom         = nom;
     TpsPrepa    = tpsPrepa;
     Image       = cheminImg;
     Description = description;
     Aliments    = new List <Ingredient>();
     Outils      = new List <Ustensile>();
     Notes       = new List <int>();
     Messages    = new ListeCommentaire();
     Préparation = préparation;
     NbPers      = nbPers;
     TpsCuisson  = tpsCuisson;
     Difficulté  = difc;
 }