private void Handle(NoteCreated evnt) { _id = evnt.AggregateRootId; _title = evnt.Title; if (_logger.IsDebugEnabled) { _logger.DebugFormat("Note created, title: {0}", _title); } }
private void Handle(NoteCreated evnt) { _id = evnt.AggregateRootId; _title = evnt.Title; }
private void Handle(NoteCreated evnt) { _title = evnt.Title; }
void IEventHandler <NoteCreated> .Handle(NoteCreated evnt) { Title = evnt.Title; CreatedTime = evnt.CreatedTime; UpdatedTime = evnt.UpdatedTime; }