Esempio n. 1
0
 public override void OnBookChangeEvent(object sender, BookChangeEventArgs args)
 {
     if (args.Book.Genre == "computer science")
     {
         Console.WriteLine("The computer scientist is going to the library to take this book");
     }
 }
 public override void OnBookChangeEvent(object sender, BookChangeEventArgs args)
 {
     if (args.Book.Genre == "computer science")
     {
         Console.WriteLine("The computer scientist is going to the library to take this book");
     }
 }
Esempio n. 3
0
 public override void OnBookChangeEvent(object sender, BookChangeEventArgs args)
 {
     if (args.Book.Genre.Equals("fantasy"))
     {
         Console.WriteLine("The fantasy-lover ordered this book with a delivery");
     }
     else
     {
         Console.WriteLine("The fantasy-lover will not read this book");
     }
 }
Esempio n. 4
0
 public override void OnBookChangeEvent(object sender, BookChangeEventArgs args)
 {
     if (args.Book.Genre.Equals("fantasy"))
     {
         Console.WriteLine("The fantasy-lover ordered this book with a delivery");
     }
     else
     {
         Console.WriteLine("The fantasy-lover will not read this book");
     }
 }
Esempio n. 5
0
 public abstract void OnBookChangeEvent(object sender, BookChangeEventArgs args);
Esempio n. 6
0
 public abstract void OnBookChangeEvent(object sender, BookChangeEventArgs args);