/// <summary> /// Initializes a new instance of the <see cref="AggregateRootEntity{TAggregateState}"/> class. /// </summary> protected AggregateRootEntity() { _state = new TEntityState(); _recorder = new EventRecorder(); }
/// <summary> /// Initializes a new instance of the <see cref="AggregateRootEntity"/> class. /// </summary> protected AggregateRootEntity() { _router = new InstanceEventRouter(); _recorder = new EventRecorder(); }