Exemplo n.º 1
0
 /// <summary>
 /// Instancie un objet Jouet et l’ajoute dans la collection des jouets de sa catégorie
 /// </summary>
 /// <param name="unNumero"></param>
 /// <param name="unLibelle"></param>
 /// <param name="uneCatégorie"></param>
 /// <param name="uneTranche"></param>
 public Jouet(int unNumero, string unLibelle, Categorie uneCategorie, TrancheAge uneTranche)
 {
     this.numero  = unNumero;
     this.libelle = unLibelle;
     this.categ   = uneCategorie;
     this.tranche = uneTranche;
     this.categ.AjouterJouet(this);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Instancie un objet Jouet et l’ajoute dans la collection des jouets de sa catégorie
 /// </summary>
 /// <param name="unNumero"></param>
 /// <param name="unLibelle"></param>
 /// <param name="uneCatégorie"></param>
 /// <param name="uneTranche"></param>
 public Jouet(int unNumero, string unLibelle, Categorie uneCategorie, TrancheAge uneTranche)
 {
     // TODO
 }