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