protected virtual void OnNoteAdded(NoteModel note) { var handler = NoteAdded; if (handler != null) handler(note); }