コード例 #1
0
 public StorageInfo(string pathToFile, string title, Genres genre, Langs lang, string paperFormat, string publisher, DateTime dateOfPublished)
 {
     Title        = title;
     Genre        = genre;
     Publisher    = publisher;
     _authors     = new List <Author>();
     _paperFormat = paperFormat;
     _pages       = StorageReader.getPages(pathToFile, PaperStrogeStandarts.getPaperInfo(_paperFormat));
 }
コード例 #2
0
 public StorageInfo(string pathToFile, string title, Genres genre, Langs lang, string paperFormat, string publisher, DateTime dateOfPublished, List <Author> authors)
 {
     _authors     = authors;
     _paperFormat = paperFormat;
     _pages       = StorageReader.getPages(pathToFile, PaperStrogeStandarts.getPaperInfo(_paperFormat));
 }