Exemple #1
0
 internal Book(string name)
     : base(name)
 {
     AuthorBehavior = new HasAuthors();
     YearBehavior = new YearInfo();
 }
Exemple #2
0
 internal NewsPaper(string name)
     : base(name)
 {
     AuthorBehavior = new NoAuthors();
     YearBehavior = new YearInfo();
 }
Exemple #3
0
 public NewsPaper(string name)
     : base(name)
 {
     AuthorBehavior = new NoAuthors();
     YearBehavior   = new YearInfo();
 }
Exemple #4
0
 public Book(string name)
     : base(name)
 {
     AuthorBehavior = new HasAuthors();
     YearBehavior   = new YearInfo();
 }