Пример #1
0
 public Album(string Name, Artist Artist) : this(Name, Artist, new Date(0, 0, 0))
 {
 }
Пример #2
0
 /// <summary>
 /// Ajoute un artiste passée en paramètre à la liste des artistes.
 /// </summary>
 /// <param name="Artist"></param>
 private void AddArtist(Artist Artist)
 {
     ListArtist.Add(Artist);
 }
Пример #3
0
 /// <summary>
 /// Supprime un artiste passée en paramètre de la liste des artistes.
 /// </summary>
 /// <param name="Artist"></param>
 private void DeleteArtist(Artist Artist)
 {
     ListArtist.Remove(Artist);
 }
Пример #4
0
 /// <summary>
 /// Constructeur
 /// </summary>
 /// <param name="name"></param>
 /// <param name="artist"></param>
 /// <param name="length"></param>
 public Song(string name, Artist artist, Time length) : this(name, artist, length, new Album())
 {
 }