Example #1
0
 public void Load(SongInfo songInfo, SelectSongScrollView parent)
 {
     if (!isDirectory && songInfo.Equals(this.songInfo))
     {
         return;
     }
     this.parent   = parent;
     this.songInfo = songInfo;
     isDirectory   = false;
     UpdateDisplay();
 }
Example #2
0
        public void TestEqualityOfSongInfo()
        {
            SongInfo s1 = new SongInfo("a", "b", "c", new TimeSpan(1), 2);
            SongInfo s2 = new SongInfo("a", "b", "c", new TimeSpan(1), 2);

            Assert.IsTrue(s1.Equals(s2));
        }