MODIF note est visiblement pb sur le uml sans correction des erreurs normal

master
Matheo THIERRY 2 years ago
parent ee28a3c467
commit 1f5a0c2512

File diff suppressed because it is too large Load Diff

@ -8,15 +8,36 @@ namespace Biblioteque_de_Class
{
internal class Note
{
public string nom = "Note sans nom";
public string logoPATH = "PATH TO DEFAULT LOGO";
public List<Category> tag;
public string Nom {
get { return Nom; }
set { if (value==null) { Nom = "Note sans nom"; } else { Nom = value; } }
}
public string LogoPATH {
get { return LogoPATH; }
set { if (value == null) { LogoPATH = "PATH TO DEFAULT LOGO"; } else { LogoPATH = value; } }
}
public List<Category> atributionTag;
public List<String> listeImage;
public List<String> listeLigneTexte;
public List<String> listePosiImage;
public Note(string nom, string logoPATH)
{
Nom = nom;
LogoPATH = logoPATH;
}
public Note(string Nnom, string llogoPATH, List<Category> basetags)
public Note RechercherNote(List<Note> listeNote, string nom)
{
nom = Nnom;
logoPATH = llogoPATH;
tag = basetags;
foreach (Note note in listeNote)
{
if (note.Nom == nom)
{
return note;
}
}
return null;
}
}
}

Loading…
Cancel
Save