예제 #1
0
파일: Song.cs 프로젝트: HolySquad/noname
 public Song(Artist artist, Album album, TimeSpan duration, string name, string path, string fileName,
     FileType type)
     : base(name, fileName, path, type)
 {
     Artist = artist;
     Album = album;
     Duration = duration;
 }
예제 #2
0
파일: Album.cs 프로젝트: HolySquad/noname
 public Album(string albumName, Artist artist, Genre genre, DateTime? releaseDate, byte[] albumArtBytes = null)
 {
     AlbumName = albumName;
     Artist = artist;
     Genre = genre;
     if (releaseDate.HasValue)
         ReleaseDate = releaseDate;
     if (albumArtBytes != null)
         AlbumArt = albumArtBytes;
 }