예제 #1
0
파일: Note.cs 프로젝트: sergioazevedo/ncqrs
 // Event handler for the NewNoteAdded event. This method
 // is automaticly wired as event handler based on convension.
 protected void OnNewNoteAdded(NewNoteAdded e)
 {
     _text = e.Text;
     _creationDate = e.CreationDate;
 }
예제 #2
0
파일: Note.cs 프로젝트: SzymonPobiega/ncqrs
 protected void OnNewNoteAdded(NewNoteAdded e)
 {
     Id = e.NoteId;
     _text = e.Text;
 }