示例#1
0
 public Online(ReadingMaterial material, string title)
 {
     Author        = material.Author;
     Language      = material.Language;
     NumberOfPages = material.NumberOfPages;
     Price         = material.Price;
     PostTitle     = title;
 }
示例#2
0
 public Book(ReadingMaterial material, bool isHardCover, string title)
 {
     Author        = material.Author;
     Language      = material.Language;
     NumberOfPages = material.NumberOfPages;
     Price         = material.Price;
     IsHardCover   = isHardCover;
     BookTitle     = title;
 }
示例#3
0
 public Magazine(ReadingMaterial material, string issueFreq, int issueNum)
 {
     Author         = material.Author;
     Language       = material.Language;
     NumberOfPages  = material.NumberOfPages;
     Price          = material.Price;
     IssueNumber    = issueNum;
     IssueFrequency = issueFreq;
 }