private bool Execute(SetLocationCommand command) { var aggregateEvent = new LocationSetEvent(command.Location); Emit(aggregateEvent); return(true); }
public void Apply(LocationSetEvent aggregateEvent) { location = aggregateEvent.Location; }