Пример #1
0
 public void Show()
 {
     if (ebook == null)
     {
         ebook = new RealEBook(fileName);
     }
     ebook.Show();
 }
Пример #2
0
 public void Show()
 {
     if (ebook == null)
     {
         ebook = new RealEBook(fileName);
     }
     Console.WriteLine("Logging");
     ebook.Show();
 }