コード例 #1
0
 public Queue(List <Track> tracks)
 {
     _tracks = tracks.Select(p => new TrackWithFeelings(p)).ToList();
     _tracks.Sort(new ReorderQueueComparer());
     _usersLikesDislikes = new UsersLikesDislikes();
     _random             = new Random();
 }
コード例 #2
0
 public Queue()
 {
     _tracks             = new List <TrackWithFeelings>();
     _usersLikesDislikes = new UsersLikesDislikes();
     _random             = new Random();
 }