public SimpleMessageAggregate(SimpleMessageId userId, DateTimeOffset timestamp) { var evnt = new SimpleMessageCreated(userId, timestamp); Apply(evnt); }
public SimpleMessageCreated(SimpleMessageId id, DateTimeOffset timestamp) { Id = id; Timestamp = timestamp; }