Esempio n. 1
0
 public void Handle(QuestionTextChangedEvent e)
 {
     QuestionText = e.Question;
     Version      = e.Version;
     Id           = e.AggregateId;
 }
Esempio n. 2
0
 public async Task Handle(QuestionTextChangedEvent handle)
 {
     await QuestionEventBroadcaster.Instance.QuestionTextChangedEventNotify(new Models.Question {
         Id = handle.AggregateId, QuestionText = handle.Question, Version = handle.Version, ModifiedDate = handle.Timestamp
     }).ConfigureAwait(false);
 }