Esempio n. 1
0
 public VinylAlbum(AlbumData a, int ncFront, int ncBack, MediaCondition e, MediaCondition ee, short y, string p) : base()
 {
     Album           = a;
     Artist          = a.Artist;
     Title           = a.Title;
     SleeveCondition = ee;
     Year            = y;
     Country         = p;
     DiscList        = new();
     DiscList.Add(new VinylDisc(ncFront, ncBack, 'A', e));
     Id = Convert.ToBase64String(Guid.NewGuid().ToByteArray()); //porque puede ser que tenga dos copias del mismo álbum
     Id = Id.Remove(Id.Length - 2);
     Id.Replace('+', 'm');
 }
Esempio n. 2
0
 public void AddDisc(VinylDisc disc)
 {
     DiscList.Add(disc);
 }