예제 #1
0
파일: Album.cs 프로젝트: Almontorie/ProG_CS
 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())
 {
 }