Esempio n. 1
0
 public ComicList(IRawComicDataSource dataSource)
 {
     for (int i = 0; i < dataSource.Count; ++i)
     {
         var comicItem = new ComicData (i, dataSource[i][0], dataSource[i][1], dataSource[i][19], dataSource[i][14], dataSource[i][15]);
         data.Add(comicItem);
         publishers.RecordInstance(comicItem.Publisher);
     }
 }
Esempio n. 2
0
 public void Setup()
 {
     data1 = new ComicData (0, "Name", "Subtitle", "Desc", "Publisher", "1966");
     data2 = new ComicData (2, "OtherName","OtherSubtitle", "OtherDesc", "OtherPublisher", "2013");
 }