Example #1
0
 public void Apply(TodoCreatedEvent @event)
 {
     Id          = @event.AggregateId;
     Title       = @event.Title;
     Description = @event.Description;
     Creater     = @event.Creater;
 }
Example #2
0
File: ToDo.cs Project: pangsen/DDD
 public void Apply(TodoCreatedEvent @event)
 {
     Title       = @event.Title;
     Description = @event.Description;
     Creater     = @event.Creater;
 }