Example #1
0
 public Online(ReadingMaterial material, string title)
 {
     Author        = material.Author;
     Language      = material.Language;
     NumberOfPages = material.NumberOfPages;
     Price         = material.Price;
     PostTitle     = title;
 }
Example #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;
 }
Example #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;
 }