Ejemplo n.º 1
0
        private bool Execute(SetLocationCommand command)
        {
            var aggregateEvent = new LocationSetEvent(command.Location);

            Emit(aggregateEvent);

            return(true);
        }
 public void Apply(LocationSetEvent aggregateEvent)
 {
     location = aggregateEvent.Location;
 }