private ActivityListAggregateRoot(Guid activityListId) : this() { var createdEvent = new ActivityListCreated(activityListId); this.Apply(createdEvent); this.RaiseEvent(new ActivityListCreated(activityListId)); }
private void Apply(ActivityListCreated obj) { this.Activities = new Dictionary <string, Guid>(); this.AggregateId = obj.AggregateId; }