Ejemplo n.º 1
0
 public override void Delete(Note note, NotesModel Current)
 {
     if (!note.IsImportant)
     {
         Current.Remove(note);
     }
     else if (successor != null)
     {
         successor.Delete(note, Current);
     }
 }
Ejemplo n.º 2
0
 public override void Delete(Note note, NotesModel Current)
 {
     if (note.IsImportant)
     {
         Console.WriteLine("NOTE WITH TOPIC '{0}' IS IMPORTANT, I CAN'T DELETE IT", note.Topic);
     }
     else if (successor != null)
     {
         successor.Delete(note, Current);
     }
 }
Ejemplo n.º 3
0
 public abstract void Delete(Note note, NotesModel Current);